An app built to help users track their habits.
This is the server side of a group project working on a habit tracker app. The server side is stored in this repo.
- Clone this repo using
git clone - Enter the directory
cd habit-tracker-server
bash _scripts/startDev.sh
- starts api & db services
- runs db migrations
- seeds db for development
- serves api on localhost:3000
bash _scripts/teardown.sh
- stop all running services
- removes containers
- removes volumes
| URL | HTTP Verb | Action |
|---|---|---|
| /users/ | GET | index |
| /habits/ | GET | index |
| /auth/login | POST | auth |
| /auth/register | POST | auth |
-
bcrypt.compare()deprecated - same email can be used to open different user accounts