MarcosLudgerio / ifood-dev-week-dio

This is a project developed at dev week ifood dio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shopping bag API for e-commerce

DescriptionHow do this API work?EndpointsRequests BodyTechnologiesRunning the projectAuthor

📝 Description

This is a project developed at Dev Week Ifood developed by Digital Innovation One. A project is building Restful API using spring boot with other technologies

✔️ How do this API work?

This API simulates a shopping bag where a product can be inserted or removed and the total purchase price is calculated

📑 Requests Body

Item Bag

{
    "idProduct": 1,
    "quantity": 2,
    "idBag": 1
}

✨ Endpoints

  • POST api/ifood/bag
  • GET api/ifood/bag/id
  • PATCH api/ifood/bag/close/id

✨ Technologies

▶️ Running the project

Run the commands below in the terminal:

$ git clone https://github.com/MarcosLudgerio/ifood-dev-week-dio.git
$ cd ifood-dev-week-dio
$ ./mvn spring-boot:run

👩‍💻 Author


Marcos Ludgério

About

This is a project developed at dev week ifood dio


Languages

Language:Java 100.0%