This project is still being developed
photos-and-blogs-ejs-project
Share your photos and posts
Demo
Getting started
- Clone this repo
npm install
to install all required dependencies
- Create MongoDb Cluster and Get Connection MongoDb URI
- Set environment variables in .env
npm start
Dependencies
- expressjs - The server for handling and routing HTTP requests
- jsonwebtoken - For generating JWTs used by authentication
- mongoose - For modeling and mapping MongoDB data to JavaScript
- slugify - For encoding titles into a URL-friendly format
- bcryptjs - Hashing Password
- dotenv - Zero-Dependency module that loads environment variables
- cloudinary
- express-fileupload
- validator
- fs
- ejs
- cookie-parser
- nodemailer - Send e-mails from Node.js
Application Features
- Basic blog and comment
- Basic Widget
- Photo sharing system (Editing and Deleting your sharing)
- User system
- Authentication Middleware
- MVC Pattern
- Ejs template
- Contact Page
- Galery Page
- MongoDb CRUD Operations
- Pagination and limit for blog page (example /blog?page=2%limit=3)