Giter VIP home page Giter VIP logo

coffee-delivery's Introduction

Coffee Delivery

Info   |    Technologies   |    How to   |    Roadmap   |    Conclusion

Info

This application simulates an e-commerce, featuring functions such as product listing, shopping cart manipulation, and a form for entering delivery addresses.

This is a project developed in React using the Vite.js builder.

Technologies

This project was developed following this technologies:

How to

## Clone this repo

# https
git clone https://github.com/glmchalita/lab-coffee-delivery

# ssh
git clone [email protected]:glmchalita/lab-coffee-delivery.git

## Access this folder
cd lab-coffee-delivery

## Install dependencies
npm install

## Run the application
npm run dev

In this way, the application will be running locally on the default port 5173 (http://localhost:5173).

Note: If you want to run the application on a different port, use the following command.

npm run dev -- --port 8000

Alternatively, if you prefer, configure the vite.config file for the desired port.

// vite.config.js
import { defineConfig } from 'vite'

export default defineConfig({
  server: {
    port: 8000,
  },
})

Roadmap

  • Add page to see orders history
  • Add new buttons style
  • Add CEP API to automatically fill the address form
  • Add delivery fee calculator based on CEP
  • Add API to change header location span automatically

Conclusion

Project designed by Rocketseat, the purpose of the project was to learn, in practice, router and form management.

I also learned a new way to format tags using grid-area, which greatly facilitated organizing the form on the Checkout page.

I also had to figure out how to use the useNavigate from react-router-dom, reading the documentation and testing to understand how this hook from the library worked.

And not least, always learning new ways to use CSS for various design-related issues.

(back to top)

coffee-delivery's People

Contributors

glmchalita avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.