This is a simple REST API server using Spring and MongoDB It is made to be used as a template for developing backend during Hackathons
This project has implemented simple CRUD on users for reference. It can be modified as per use case.
It follows this order for CRUD operations - Incoming Request => controller => service => Database
How to run -
- mvn clean install
- mvn spring-boot:run
How to test - You can use multiple ways to draft a request to the server
- Postman Tutorial - https://www.youtube.com/watch?v=cR_FqveTewo
- Swagger docs (This project doesn't have them)
- curl requests Tutorial - https://www.youtube.com/watch?v=8f9DfgRGOBo
In future, there is a possiblity of the Spring Boot version to become depreciated Please update it if the project fails to run.
This project is open to improvements and refining Wishing you the best for your hackathon !