Skip to content

This project is a RESTful API developed using Spring Boot. It serves as a backend service for managing products in a catalog. Users can perform CRUD (Create, Read, Update, Delete) operations on products.

License

Notifications You must be signed in to change notification settings

nickemma/springboot-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot REST API for Product Management

Overview

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.

Features

  • 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.

Technologies

  • Spring Boot
  • Spring Security
  • JWT
  • MongoDB
  • Maven

Prerequisites

  • 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.

Getting Started

Clone the Repository

git clone https://github.com/nickemma/springboot-rest-api.git
cd springboot-rest-api

Build and Run the Application

Use Maven to build and run the application:

mvn clean install
mvn spring-boot:run

The application will start on http://localhost:8080.

API Documentation

The API documentation is available at http://localhost:8080/swagger-ui.html.

License

This project is licensed under the MIT - see the LICENSE file for details.

Acknowledgments

  • 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!

About

This project is a RESTful API developed using Spring Boot. It serves as a backend service for managing products in a catalog. Users can perform CRUD (Create, Read, Update, Delete) operations on products.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages