Skip to content

jfocht/cljs-express-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClojureScript Express Example

This project shows how to use ClojureScript to build web servers using express and node.js. You'll need:

* leinengen http://leiningen.org/
* node.js https://nodejs.org/
* (optional) nodemon

Getting Started

Build the server:

$ lein cljsbuild once server

Run the server:

$ node build/server/cljs_express_example/example.js

Run the server and reload when files change:

$ lein cljsbuild auto server
$ nodemon build/server/cljs_express_example/example.js

Testing

While developing, enable quick compilation of your project and tests using lein auto-test. Run tests using node:

$ node test/bin/runner-none.js build/test build/test/test.js

About

This example shows how to use ClojureScript with node.js and express.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published