API to go along with https://github.com/nathan3000/dootrix-todo
- Express, Node
- MongoDB, Mongoose
- bcrypt, JsonWebTokens, passport
- Babel
- React, Redux, ES6
- Babel, Webpack
- Mocha, Enzyme, Sinon, Chai
- Allow the user to create a new task and add it to the users schedule/list of tasks.
- Allow the user to mark the task as complete.
- Use a RESTful JSON web service to communicate with the backend.
- Make use of an appropriate database technology to store the task information.
- Allow a user to authenticate with the application.
- Allow a user to explicitly log out.
- Allow users to sign up. (API end point only)
Username: demo
Password: demo
(Free tier Heroku, might be slow on first hit)
Demo link
Tested in Chrome 55.
To install dependencies.
###npm install
To run the app locally you'll need to set two environment variables: Creating a .env file with the following should do the trick (dotenv loads them automagically)
DATABASE_URL=[mongo url]
SECRET=[your secret]
Runs the app in development mode (live reload).
Open http://localhost:8080 to view it in the browser.