Skip to content

isdanni/rating

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rating

A server side web app built using Clojure and Duct framework.

Why Duct?

  • link
  • It is a modular framework.
  • Easy to build & efficient to manage different modules.

Setup

After clone to local:

lein duct setup
lein repl
user=> (dev)
:loaded

Run go to prep and initiate the system.

dev=> (go)
:duct.server.http.jetty/starting-server {:port 3000}
:initiated

By default this creates a web server at http://localhost:3000.

When you make changes to your source files, use reset to reload any modified files and reset the server.

dev=> (reset)
:reloading (...)
:resumed

Testing

Testing is fastest through the REPL, as you avoid environment startup time.

dev=> (test)
...

But you can also run tests through Leiningen.

lein test

About

A server side web app built with Clojure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published