View on Demo
Root is a blogging Application where
- Users can sign in using google oauth.
- Users can create, read, update and delete blogs.
- Users has a dashboard where his/her activity and details will be Shown.
- Users can edit their Profile Details.
- Users can view others Profiles.
NodeJs - Runtime env
Express - Backend Framework
Mongodb - Database
EJS - Templating Engine
CKEditor - Editor for writing blogs
Make sure to have Node and NPM installed
-
Clone this repo
git clone https://github.com/Neha9849/Root
-
Change directory
cd Root
-
Install the dependencies
npm i
-
Create a .env file with following keys
PORT = 3000
MONGO_URI = <your mongodb key>
GOOGLE_CLIENT_ID=<your client id>
GOOGLE_CLIENT_SECRET=<your secret>
-
Start the server
npm start
-
If you have nodemon than use
npm run dev
to start live server. -
navigate to http://localhost:3000/
That's it! You are done with the setup 🎉