This project is a simple shopping cart application built with React and TypeScript. It is a work in progress and will be updated as I learn more about React and TypeScript.
Deployed 🌝 HERE
To get started, clone the repository and install the dependencies.
git clone cd react-typescript-shopping-cart npm installOne way is hard-coding; Anther way is to use json-server to serve the data for the products, run the following command. I used both here, watch the comments in the code.
npx json-server -w data/products.json -p 3500To start the application, run the following command.
npm run devLaunch the application in the browser at http://localhost:5173/
update