mirror of
https://github.com/RaddyTheBrand/25.NodeJs-Express-EJS-MongoDB--Blog.git
synced 2026-04-24 22:25:57 +03:00
No description
- JavaScript 51%
- EJS 27.4%
- CSS 21.6%
| Design Files | ||
| public | ||
| server | ||
| views | ||
| .gitattributes | ||
| .gitignore | ||
| app.js | ||
| DummyData.txt | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| readme-image.jpg | ||
| README.md | ||
NodeJs, Express, EJS & MongoDB Blog - CRUD
You need:
- NodeJs
- Database (MongoDB) Free Cluster
Setup Database
Sign up for MongoDB free database cluster: MongoDB
Create .env file
Create a .env file to store your credentials. Example below:
MONGODB_URI=mongodb+srv://<username>:<password>@clusterName.xxxxxxx.mongodb.net/blog
JWT_SECRET=MySecretBlog
Installation
To install and run this project - install dependencies using npm and then start your server:
$ npm install
$ npm run dev
Design Files
The Blog layout is in a Figma(.fig) file under the "Design Files".
