Developed a secure role-based voting system backend using Node.js and Express.js. Implemented JWT-based authentication and authorization to differentiate between admin and user roles. Admin users can create and manage candidates, while authenticated users are allowed to vote only once. Ensured data integrity by preventing duplicate votes and protecting APIs using middleware. Designed RESTful APIs and integrated MongoDB for efficient data storage