🚀 Live Demo: https://online-voting-system-0jeh.onrender.com
This project is a React application served by an Express backend. It uses esbuild for bundling instead of Vite.
- Install Node.js: Ensure you have Node.js installed on your computer.
- Open Project: Open this folder in VS Code.
- Install Dependencies: Open the terminal and run:
npm install
- Start the App: Run the following command:
npm run dev
- View in Browser: Go to http://localhost:3000
/backend: Node.js Express server.index.js: Main server file.data.json: Database file for votes and users.
/frontend: React frontend./src: Source code (.js files).index.html: Main HTML entry point.
build.js: Custom script to bundle frontend files into/frontend/dist.package.json: Contains project metadata and run scripts.