A Node, Express + Mongo auth server. Uses babel to allow for ES6+ development.
- You will need a running MongoDB server.
git clone https://github.com/chaddanna/auth-api.git
cd auth-api
yarn install
- I have provided
example-config.js
. You can use this to create aconfig.js
that provides a secret key to be used with password encryption.
yarn start
(Development:yarn run dev
)- Available routes:
app.get('/')
app.post('/signup')
app.post('/signin')