Skip to content

victordantas1/orders-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orders Service API

About 📕

This project is an ordering service API, it can be used for food delivery and online product sales.

=======

Orders Service API RESTful📦

About 📕

This project is an ordering service API, it can be used for food delivery and online product sales. This project was developed with instructions from Nelio Alves' Java and Spring Boot course, in order to exercise and improve the skills acquired during the course.

Features 🛠️

  • Find, delete, post and update service users
  • Find orders users
  • Find products orders
  • Find products categories

Techs 💻

  • Java: language used during api development.
  • Spring: framework used for developing the web api using Spring Web and Spring Data JPA.
  • H2 Database: test database used during application development

Requiriments 📝

  • Have Java version 17 installed
  • Have Postman installed(but the application can be used in browser)

initialization 🔌

  • Use Postman to make better use of the API's features.
  # Clone project
  $ git clone [email protected]:victordantas1/orders-api.git
  # Install dependencies
  $ mvn install
  # Run project
  $ mvn spring-boot:run

Endpoints

GET

  • /users: find a users list
  • /orders: find a orders list
  • /products: find a products list
  • /categories: find a categories list

POST

  • /users: add a user

PUT

  • /users: update a user

DELETE

  • /user: delete a user

Future implementations ⌨️

  • CRUD of other entities
  • Anothers endpoints to find with others atributes
  • A new project using hateos will be developed using this as a base

50240f3574ce1ef401a1153713c4bdb3293c83b5

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages