CRUD User and Events
- Make sure you have postgres database installed
- Go to config/database.ts and change the db parameters
- To download all the package dependencies, run the command
yarn
- To run the application locally, run:
yarn dev
- To test the application locally, run:
yarn test
- Documentation: (Refere to
docs.yaml
swagger file in project root)User@POST: 'http://localhost:8080/api/user/' User@GET: 'http://localhost:8080/api/user{:userId}' User@DELETE: 'http://localhost:8080/api/user/{:userId}' Event@POST: 'http://localhost:8080/api/event'