BlogSpace
Requirements for this project are: Angular2 CLI NodeJS Mongo
To run this project:
- In the terminal run the command mongod to start mongo
- Navigate to the folder Angular2/blogApp and run the command npm i && ng build
- Navigate to the folder Angular2 and run the command nodemon server.js (This is to run the node server)
- Goto localhost:8080 on web-browser
- For better experience, start by registering yourself and continue
- The application is more descriptive and will guide/direct you with all the messages
All the data from front-end is routed to the services module and then to the backend (which is in the routes folder). All the user related data can be seen in the authentication.services and authentication.js files. All the blog related data can be seen in the blog.services and blogs.js files.
All the components have their own functionality whose details can be seen their respective component.ts files.
You can also install Robo3T to see the structure of the schema and view the data being saved as and when you use the application.