This is a web application used to deploy elections online, aimed at hosting small scale elections. It is a secure platform with a easy to use interface. The application also analyses election/candidate data to provide insights about voting trends, and also sentiment analyze candidate's manifesto.
MERN Stack
- config
- default.json - Used to define any global variables
- db.js - Function for connecting to DB
- middleware
- auth.js - Function for JWT token verification
- models
- Any database collections required for the application are defined here
- routes/api
- Any API's required for application are defined here
- client/src
- Any files for frontend(React)
- Install MongoDB
- Clone/Pull the repository
- Run
npm install
to install all the required packages - Run
npm run dev
to run the frontend and backend servers together - Run
npm run server
to run only the server
- Landing Page
- Sign Up and Sign In Pages
- Admin Page for managing elections
- creating, deleting elections
- adding voter list and candidate details
- Viewing Elections
- Candidate Info Page for voters to view
- Voting Page
- Results Page
- User Authentication
- User Sign In and Sign Up
- email voters the link/pwd
- Create, List and Delete Elections
- Add Candidate Details, Voter List
- Update Votes, Get Votes for an election and
- Data Analytics
- Election, Voting Trends
- Sentiment Analysis