A progressive Node.js framework for building efficient and scalable server-side applications.
- Nest.js
- Node.js
- TypeScript
- Mongoose
- JWT Authentication
- Access JWT token
- Access information on individual candidates.
- Retrieve results of electoral committees in specific districts or territorial units.
- Use specified filters to select data which you need
Experience the API live here.
Explore the API using Swagger here.
To run the project locally, follow these steps:
# Clone the repository
git clone https://github.com/bpajor/PolElections2023-rest-api.git
# Navigate to the project folder
cd PolElections2023-rest-api
# Install dependencies
npm install
Now you should change the start:dev value in package.json to
SET URI=[Uri you can access from mongodb]&&nest start# Start server
npm run start:devThis project leverages the powerful Nest.js framework, ensuring scalability and maintainability. The integration of JWT authentication ensures secure access to election data, while TypeScript enhances code readability and maintainability.
Feel free to contribute to the project and help make election data accessible and understandable for everyone.
For any issues or suggestions, please create an issue.
Happy coding! 🚀
This project is licensed under the MIT License.
