My-Diary app is a thought/idea keeping app which allows you to write,store and view your idea/thoughts.
A template for My-Diary with the features below.
- Users can signup and sign In
- Users can create diary entry
- User can update diary entry
- Users can view all diary entry made by he/she
- Users can view a perticular diary entry
- User can delete a diary entry
- Html and Css on the front end
- Nodejs
- Expressjs frame work
- Mocha,Chai,Chai-Http for test
Verb | Enpoints | Action | Description |
---|---|---|---|
GET | /entries | fetch all entry offers | Get all available diary entry |
POST | /entries | create entry | creates a new diary entry |
GET | /entries/:entryId | fetch specific entry | view specific entry |
POST | /auth/signup | create user | Sign up to the app |
POST | /auth/signIn | log in user | Log in to the app |
PUT | /entries/:entryId | update an entry | modify a particular entry |
DELETE | /entries/:entryId | delete an entry | Remove an entry |
- Clone this repository to your local machine
- cd to
MY-DIARY
- Run
npm install
- Start app with
npm start
Run npm test
Okoro Emeka.