A simple web application for managing votes with two user interfaces: admin/sub-admin and user.
- Users can vote.
- Users can log out of the session.
-
Admin can view:
- Total votes cast.
- List of users who voted.
- Number of registered users.
- Number of currently active logins.
-
Admin can create a sub-admin to access the admin panel.
-
Admin can delete sub-admins and users.
- Node.js and npm installed (version X.X.X).
- Other dependencies...
- Clone the repository:
git clone https://github.com/rahulgupta1432/VotingAppTask.git
- Navigate to the project directory:
cd VotingAppTask
- Install dependencies:
npm install
- Run the application:
npm start
- Open your browser and navigate to http://localhost:3301
[Include screenshots or GIFs to showcase your application's UI and features.]
Thank you for contributing to the VotingAppTask! Your help is greatly appreciated.
This task was assigned by JForce Solution, and I completed it with significant modifications.
- Node.js https://nodejs.org/en
- Express.js: https://expressjs.com
- Sequelize.js: https://sequelize.org/
- Joi: https://joi.dev/
- Express-Session https://github.com/expressjs/session
- MySQL: https://www.mysql.com/
- JsonWebToken https://jwt.io/
- Bcrypt: https://github.com/kelektiv/node.bcrypt.js