Powerful API for managing your todos, created using Spring Boot, with microservice architecture
TodoAPI embraces the power of microservices to provide a scalable and maintainable architecture. It consists of four core microservices:
- Todos Microservice: Handles all operations related to todos.
- Users Microservice: Manages user authentication and user-related tasks.
- Service Discovery (Eureka Server): Enables service registration and discovery.
- API Gateway: Offers an entry point for all external requests and includes JWT authentication.
Important: All requests must be sent through the API Gateway: http://104.248.166.249:1001/
Accessing the endpoints and functionalities of TodoAPI requires a valid JSON Web Token (JWT) in the "Authorization" header of your requests. To obtain a JWT token:
- Register a user account.
- Log in using your user credentials.
- A JWT token will be included in the response.
- The JWT token is valid for 24 hours.
Swagger UI provides a comprehensive interface to explore and interact with the TodoAPI endpoints:
We welcome contributions to enhance api. To contribute, follow these steps:
- Fork this repository.
- Create a new branch:
git checkout -b feature/your-feature-name
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin feature/your-feature-name
- Create a new Pull Request.