Express Server for a Gratitude Journal website.
To install this program, fork or clone this repository and run the command:
npm i
This should install the dependencies.
To run the server, use the code:
npm start
The following routes are defined for this server:
Gratitude journal entries
- DELETE entries/:id
- GET entries/
- GET entries/:id
- POST entries/
- PUT entries/:id
The testing framework used for this backend is Mocha
, with Chai
.
To run all the tests, use the code:
npm test