Skip to content

This is a full-featured backend mini-project built using Node.js, Express, and EJS for server-side rendering. It includes user authentication and post management features with the following key functionalities: πŸ” User Authentication (JWT-based): Register and log in with email and password. πŸ‘€ Profile Page: Users can view and edit their profiles.

Notifications You must be signed in to change notification settings

Shivansh-Rajput01/BackendMiniProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌐 Mini Social App – Node.js + Express + EJS

A simple backend web application using Node.js, Express.js, and EJS that allows users to register, log in, manage profiles, and interact with posts (like, unlike, edit). It also features secure file uploads using Multer and route protection using JWT-based authentication.


πŸš€ Features

  • βœ… User Registration & Login (Email & Password)
  • πŸ” JWT-based Authentication with Cookie Storage
  • πŸ‘€ Profile Page with Profile Picture Upload (using Multer)
  • πŸ“ Create, Edit, Like, and Unlike Posts
  • πŸ“¦ File Upload Support (Image)
  • 🧭 Protected Routes (Middleware)
  • 🎨 Server-Side Rendering using EJS Templates

πŸ›  Tech Stack

Technology Description
Node.js JavaScript runtime environment
Express.js Web framework for Node.js
EJS Template engine for server-side views
MongoDB NoSQL database for storing data
Mongoose MongoDB object modeling tool
Multer Middleware for handling file uploads
JWT Secure token-based authentication
Bcrypt Password hashing for secure auth
Crypto generte a unique filename when uploading ny Multer

About

This is a full-featured backend mini-project built using Node.js, Express, and EJS for server-side rendering. It includes user authentication and post management features with the following key functionalities: πŸ” User Authentication (JWT-based): Register and log in with email and password. πŸ‘€ Profile Page: Users can view and edit their profiles.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published