Giter Site home page Giter Site logo

shopping-cart-with-react-and-typescript's Introduction

Shipping-Cart-with-React-and-TypeScript

1. Set up

  • Install npm

2. Folder structure

shopping-cart-app/
├── node_modules/ // Thư mục chứa các module được cài đặt bởi npm
├── public/ // Thư mục chứa các tệp tĩnh không biên dịch (như index.html)
│ ├── index.html // Tệp HTML gốc
├── src/ // Thư mục chứa mã nguồn của ứng dụng
│ ├── components/ // Thư mục chứa các thành phần React
│ │ ├── Cart.tsx // Component cho giỏ hàng
│ │ ├── Product.tsx // Component cho sản phẩm
│ ├── App.tsx // Component gốc của ứng dụng
│ ├── index.tsx // File khởi đầu của ứng dụng React
├── .gitignore // Tệp định nghĩa những gì Git sẽ bỏ qua
├── package.json // Tệp định nghĩa dự án và các phụ thuộc
├── README.md // Tệp README của dự án
├── tsconfig.json // Tệp cấu hình TypeScript
└── yarn.lock // Tệp đảm bảo các phụ thuộc được cài đặt đồng nhất (Yarn)

References

shopping-cart-with-react-and-typescript's People

Contributors

fry1999 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.