This is a RESTful API developed using Spring Boot, designed to manage a catalog of products. It includes features such as user registration, authentication, and CRUD operations for products. The API uses MongoDB to store product information and secures endpoints using JWT tokens.
- User Registration and Authentication: Allows users to register and log in to access the API.
- JWT Token Authentication: Secures API endpoints and validates user sessions.
- CRUD Operations for Products: Authenticated users can create, read, update, and delete products.
- Input Validation: Ensures data integrity through validation.
- Error Handling: Provides meaningful error messages for better debugging and user experience.
- Spring Boot
- Spring Security
- JWT
- MongoDB
- Maven
- Java: Ensure you have JDK 8 or later installed.
- MongoDB: Make sure MongoDB is installed and running.
- Maven: Ensure Maven is installed for dependency management.
git clone https://github.com/nickemma/springboot-rest-api.git
cd springboot-rest-api
Use Maven to build and run the application:
mvn clean install
mvn spring-boot:run
The application will start on http://localhost:8080
.
The API documentation is available at http://localhost:8080/swagger-ui.html
.
This project is licensed under the MIT - see the LICENSE file for details.
- Instructor for the teaching inspiration to learn spring boot.
Feel free to adjust the content to better fit your project specifics and personal preferences. If you need further customization or additional sections, let me know!