This is a simple Node.js API for voting and retrieving the current vote count.
- Clone this repository
- Install dependencies using
npm install
- Start the server using
npm start
- Send a POST request to
/vote
to cast votes - Send a GET request to
/votes
to retrieve the current vote count
- Node.js
- Express.js