BLOGsy is a Blog Post Application using Angular and Node where Users can see list of blog posts, add new post, view the details , edit and can delete the blog post.
- Signin/up to https://www.mongodb.com/cloud/atlas/register
- Create a cluster and connect it to your application.
- Refer to : https://www.section.io/engineering-education/nodejs-mongoosejs-mongodb/
- Create a ".env" file in "NodeApp" Folder and write
" DB_CONNECT = <----Paste_Your_Connection_String_Here----> " - Do edit your password and desired database name in the connection string copied to .env file.
- Open project in VS Code.
- Right click on "NodeApp" folder --> Open in integrated terminal
- Run "npm install" in terminal
- Now to run backend --> Run "node app.js" in terminal.
- Right click on "AngularApp" folder --> Open in integrated terminal
- Run "npm install" in terminal
- Now to run frontend --> Run "ng serve AngularApp" in terminal.
- Open URL "http://localhost:4200" in browser