ShopZone
:credit_card: Online shop made with TypeScript, React and Django Rest Framework
Install / Use
/learn @agustfricke/ShopZoneREADME
ShopZone
:credit_card: Online shop built with React and TypeScript as the frontend, and Django Rest Framework as the backend.
ShopZone
- is the folder containing the completed project. To use PayPal, you need the
clientId, which is located on line 271 of the fileShopZone/ShopZone/frontend/src/pages/CartPage.tsx. You can obtain theclientIdfrom your PayPal developer account.
Install and Run
git clone https://github.com/agustfricke/ShopZone.git
cd ShopZone/ShopZone
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
mkdir dist
mkdir dist/static
python3 manage.py createsuperuser
python3 manage.py runserver
In a new terminal
cd frontend
npm i
npm run dev
Open the following URL and log in with the user you created using Django:
<a href="http://localhost:5173/">http://localhost:5173/</a>
Give it a ⭐
