MyDiary is an online journal where you can pen down your thoughts and feelings
- Clone the repository:
git clone https://github.com/oladimillion/MyDiary.git
-
Navigate into the cloned repository folder
-
Install dependencies:
$ npm install
-
run
npm run start
to start the server -
visit
http://localhost:8000
visit https://mydiary-ola.herokuapp.com
visit http://localhost:8000/api-docs
or docs
Functionality | HTTP Method | API endpoints |
---|---|---|
Login | POST | /api/v1/auth/login |
Registration | POST | /api/v1/auth/signup |
Update Profile | PUT | /api/v1/auth/update |
Add entry | POST | /api/v1/entries |
Update entry | PUT | /api/v1/entries/<entryId> |
Entry List | GET | /api/v1/entries |
Entry Detail | GET | /api/v1/entries/<entryId> |
Delete entry | DELETE | /api/v1/entries/<entryId> |
Add/update reminder | POST | /api/v1/reminders |
Delete reminder | DELETE | /api/v1/reminders/<remindersId> |
Templates | URLs |
---|---|
Login | Login |
Registration | Registration |
Add and Modify | Add and Modify |
Entry List and Entry Content | Entry List and Entry Content |