Welcome to the Trivia Back repository! This project is designed to provide a backend for a trivia application.
- User authentication and authorization
- Question management (CRUD operations)
- Score tracking
- API for integrating with front-end applications
- Node.js
- npm
- MongoDB
- Clone the repository:
git clone https://github.com/jdteheran/trivia-back.git cd trivia-back
- Install dependencies:
npm install
- Create a .env file based on the .env.example file:
cp .env.example .env
- Configure your environment variables in the .env file.
- Clone the repository:
npm start
- Clone the repository:
npm test
- controllers/ - Contains route handlers
- database/ - Database connection and configuration
- models/ - Mongoose models
- routes/ - API routes
- services/ - Business logic
- postman/ - Postman collection for API testing
Contributions are welcome! Please fork the repository and create a pull request.
This project is licensed under the MIT License.
For more information, feel free to reach out at [jdteheran@uninorte.edu.co].