This is a simple shop demo (frontend only for now) that is part of the Course Python + React: Full Stack Web Development. It is currently a work in progress, and will be updated as the course progresses.
You can view the demo here.
To run it locally, you need to have Node.js / NPM installed (See here for instructions). Then, you can clone the repository and run the following commands:
git clone https://github.com/ofersadan85/front-demo.git
cd front-demo
npm install
npm run dev
This should start a local server on http://localhost:5173/front-demo/ where you can see the demo and make changes to the code. The server will automatically reload when you make changes to the code.
Note: If this is not working for any reason, try clearing out the browser cache (or just this site's data from local storage) and restarting the server. This is because this project is a work in progress and the data types may change between versions.
Currently, we're using the Fake Store API to get the products. In the future, we will replace it with our own backend.