MyDiary is an online journal where users can pen down their thoughts and feelings.
- Install
Gitlocally - Install
NodeJSlocally - Clone the repo with
git clonecommand - run
npm installto install all the dependencies locally
- run
npm run start:serverto start server - run
npm run start:testto run tests - run
npm run start:coverageto run and view test coverages
-
POST
api/v2/auth/signupCreate user account. -
POST
api/v2/auth/signinLogin a user.API endpoints with authentication requirements
-
POST
api/v2/entriesCreate an entry -
PATCH
api/v2/entries/:entryIdModify an entry -
DELETE
api/v2/entries/:entryIdUsers can delete an entry -
GET
api/v2/entriesUsers can view their entries -
GET
api/v2/entries/:entryIdUsers can view specific entry
link: MyDiary web