Skip to content

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web application built with Clojure

Prerequisites

You will need Leiningen 2.0.0 or above installed.

Running

Install PostreSQL and create database. Details of database connection now are in src/cma/db.clj.

createdb cma

Run migrations:

lein migratus migrate

To start a web server for the application, run:

lein ring server

Now visit http://localhost:3000/ to see the app running.

Routes

  • /register : Register a new user (POST)
  • /login : Login api for a user (POST)
  • /api/user?email=<email-id> : Find user by email (GET)

Deploying clojure app using Heroku

https://devcenter.heroku.com/articles/deploying-clojure

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages