Skip to content

HardikPatil0/Voting-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Voting System (MERN)

A full-stack MERN Voting System project built to practice real-world authentication, backend APIs, database integration, and voting logic.


📌 Overview

This project demonstrates a complete MERN workflow including:

  • Backend API development with Node.js + Express
  • MongoDB database integration
  • Frontend UI built with React
  • Voting system logic (create, vote, results)

🧱 Tech Stack

  • Frontend: React, JavaScript
  • Backend: Node.js, Express.js
  • Database: MongoDB
  • Tools: Git, Postman

✨ Features

  • User authentication (if implemented)
  • Create voting polls (if implemented)
  • Vote for candidates/options
  • View results (if implemented)
  • Backend REST APIs

⚙️ Installation & Setup (Run Locally)

1) Clone the repository

git clone https://github.com/HardikPatil0/Voting-System.git
cd Voting-System


## Install dependencies

This project may contain separate frontend and backend folders.

If your project has client/ and server/ folders, use:

cd server
npm install


Open a new terminal:

cd client
npm install


## Environment Variables

Create a .env file inside the backend folder (example: server/.env):

PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_key

4) Run the project

Backend:

npm start


Frontend:

npm run dev

## 📌 Notes

Deployment is not added yet (local setup only).

This project will be improved with better documentation and deployment in future updates.

About

Full-stack MERN voting system project with backend APIs, MongoDB integration, and voting logic.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages