npm install to install all the related dependencies
Create a config/config.env file and add all the credentials(Database Credentials, Google Cient Credentials) into it.
npm start or npm run dev to run the application
- GET
/auth/googleto signup using Google G+ - GET
/auth/google/callbackcallback route as per Google Auth Policy - GET
/auth/logoutLogout a logged in user - GET
/to get the Login Page - GET
/dashboardProtected route for a particular user's dashboard - GET
/stories/addProtected route to get the page to add a story - POST
/storiesProtected route a add a story to the database and display - GET
/storiesProtected route to get all the public stories all a common page - GET
/stories/:idProtected route to view a complete story(public) - GET
/stories/edit/:idProtected route to get the edit story page - PUT
stories/:idProtected route to update a story - DELETE
stories/:idDelete a particular story - GET
stories/user/:userIdGet all the stories of a particular user.