Skip to content

Latest commit

 

History

History
 
 

Client

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Online Voting System

This repository contains the source code for an Online Voting System developed using the MERN stack (MongoDB, Express.js, React.js, Node.js). The system allows users to participate in various types of online voting, such as elections, polls, surveys, and more.

home page

home page about

registration

login

user portal

user portal upcoming

Voting Page

Admin Page

Mongo DB Schemas

Features

  • User Authentication: Secure user authentication and authorization system.
  • Voting Dashboard: Interactive dashboard for users to view ongoing and upcoming voting events.
  • Voting Interface: Intuitive interface for users to cast their votes.
  • Admin Panel: Admin interface to create, manage, and monitor voting events.
  • Real-time Updates: Real-time updates using WebSocket for instant notifications on voting results.
  • Data Security: Implementation of security measures to ensure data privacy and integrity.

Technologies Used

  • Frontend: React.js for building the user interface.
  • Backend: Node.js and Express.js for server-side logic.
  • Database: MongoDB for storing user data, voting events, and results.
  • Authentication: JSON Web Tokens (JWT) for user authentication.
  • Real-time Updates: WebSocket for real-time communication between clients and the server.
  • UI Framework: Material-UI for designing responsive and modern UI components.

Getting Started

To run the project locally, follow these steps:

  1. Clone this repository to your local machine.
  2. Navigate to the project directory.
  3. Install dependencies for both the server and client:
  • cd server
  • npm install
  • cd ../client
  • npm install
  1. Configure environment variables: Create a .env file in the server directory. Add necessary environment variables (e.g., MongoDB connection string, JWT secret).

  2. Start the server: cd server npm start

  3. Start the client: cd ../client npm start

Contributing

Contributions are welcome! Please feel free to submit bug reports, feature requests, or pull requests.

  • Fork the repository.
  • Create a new branch (git checkout -b feature/fooBar).
  • Commit your changes (git commit -am 'Add some fooBar').
  • Push to the branch (git push origin feature/fooBar).
  • Create a new Pull Request.