Skip to content

Coffee Shop is a modern and convenient online platform for coffee lovers. Browse a curated selection of high-quality coffees, customize your order, and enjoy a seamless shopping experience.

License

Notifications You must be signed in to change notification settings

martonpaulo/coffee-delivery

Repository files navigation

☕ Coffee Delivery - Your Perfect Coffee Experience

License Last Commit React Version TypeScript Version Test and Deploy Status

Welcome to Coffee Delivery, where every cup is crafted to perfection! Great coffee, effortless ordering, and fast delivery – because you deserve the best.

Explore a variety of premium coffees, from bold espressos to smooth lattes, all carefully selected to satisfy every taste. Customize your order, add your favorite blends to the cart, and enjoy a seamless checkout experience.


Recording of live application

🔗 Live Project: martonpaulo.github.io/coffee-delivery


Check out the Figma prototype here (Portuguese): Figma Link.

This project is based on a RocketSeat tutorial.

For more of my work, visit my portfolio: martonpaulo.com.

🔧 Features

  1. Browse a list of available coffee products
  2. Add a specific quantity of items to the cart
  3. Increase or remove item quantities in the cart
  4. Fill out a form with shipping details
  5. Display the total number of items in the cart in the header
  6. Show the total cost based on item quantity and price

🛠️ Technologies Used

This project is built with: React, Vite, TypeScript, Styled Components and Context API.

🚀 Getting Started

To get started with the project, follow these steps:

  1. Clone the repository: git clone https://github.com/martonpaulo/coffee-delivery.git
  2. Navigate to the project directory: cd coffee-delivery
  3. Install the dependencies: npm install

📜 Available Scripts

In the project directory, you can run the following scripts:

  • npm run dev - Starts the development server at http://localhost:3000/coffee-delivery.
  • npm run build - Builds the project for production, outputting the files to the dist folder.
  • npm run lint - Runs ESLint to lint the code and ensure code quality.

TODO List

  • Set up project with Vite, React, and TypeScript
  • Set up GitHub repository
  • Add GitHub description
  • Add README description
  • Add License
  • Set up ESLint
  • Add project favicon
  • Change port to 3000
  • Initial setup by clearing unnecessary files
  • Update package.json settings
  • Add GitHub Actions and deploy to GitHub Pages
  • Styled Components
  • Props
  • Componentization
  • Display a list of available coffee products
  • Lists and keys in React
  • Include a limit of items for each product
  • Add responsive layout
  • If user tries to add more items than available, show a message
  • Review checkout flow
  • Add a items number in the cart icon in the header
  • State management
  • Context API
  • LocalStorage
  • State immutability
  • Array manipulation with the reduce method
  • Add a specific quantity of items to the cart
  • Increase or remove item quantities in the cart
  • Show the total number of items in the cart in the header
  • Display the total cost based on item quantity and price
  • Create a form for users to enter their address
  • Add form validation
  • Add project recording
  • Add project to portfolio

📄 License

This project is licensed under the MIT License. For more details, see the LICENSE file.

About

Coffee Shop is a modern and convenient online platform for coffee lovers. Browse a curated selection of high-quality coffees, customize your order, and enjoy a seamless shopping experience.

Topics

Resources

License

Stars

Watchers

Forks