Skip to content

Development of an application to manage a cafeteria's shopping cart: list products, add/remove items, fill in address, and display total.

Notifications You must be signed in to change notification settings

fernandortec/coffee-shop-delivery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discover eco-friendly coffees, try new flavours, join the movement!. One cup at a time

GitHub language count Repository size GitHub last commit License Stargazers made by Fernandortec Stargazers

#### 🚧 Coffee Delivery ☕️ Concluído 🚀 🚧

AboutFeaturesLayoutHow it worksTech StackContributorsAuthorLicense

About

The application facilitates the management of a fictional café's shopping cart, providing users with options to browse available coffee products, add or remove quantities, input their address details, and conveniently view the total sum of items in the cart.


Features

  • List of products (coffees) available for purchase
  • Add a specific quantity of items to the cart
  • Increase or remove the quantity of items in the cart
  • Form for the user to fill in their address
  • Display the total number of items in the cart in the Header
  • Display the total value of the sum of items in the cart.

Layout

The application layout is available on Figma:


How it works

This project is divided into two parts:

  1. Backend/Server Logic (packages folder)
  2. Frontend (apps folder)

The project is built using Turborepo, meaning, its a monorepo with all necessary features to run the app inside one repository.

The architecture consists of all server logic, and backend queries, stored in a separate package (drizzle) and the NextJs (frontend) project on apps/web.

Pre-requisites

Before you begin, you will need to have the following tools installed on your machine: [Git] (https://git-scm.com), [Bun] (https://bun.sh/). In addition, it is good to have an editor to work with the code like [VSCode] (https://code.visualstudio.com/)

Running the project

# Clone this repository
$ git clone [email protected]:fernandortec/coffee-shop-delivery.git

# Access the project folder cmd/terminal
$ cd coffee-shop-delivery

# install the dependencies
$ bun install

# Run the application in development mode
$ bun dev

# The server will start at port: 3000 - go to http://localhost:3000

Tech Stack

The following tools were used in the construction of the project:

Project (NextJS + TypeScript)

See the file package.json

Utils

Author

Fernando Rodrigues
Fernando Rodrigues

Linkedin Badge Gmail Badge


License

This project is under the license MIT. (Https://www.linkedin.com/in/fernandortec/)

About

Development of an application to manage a cafeteria's shopping cart: list products, add/remove items, fill in address, and display total.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published