- Yarn
- NodeJS (NPM)
- Docker Client
- Developed with Visual Studio Code (optional)
docker-compose up
- postgres
yarn install
npm start
npm run migrate schema:sync
npm run migrate migrations:create
npm run migrate migrations:run
Local Server: http://localhost:5000/
Endpoint | Method | URI |
---|---|---|
Login | POST |
/login |
Logout | DELETE |
/logout |
Sign Up | POST |
/signup |
Show User Info | GET |
/users/{id} |
Show My User Info | GET |
/users/me |
Update My User Info | PUT |
/users/me |
yarn install
npm start
Local Server: http://localhost:3000/