An e-commerce web app for artists in-the-making. It follows a decoupled architecture, where the backend is built with Python's FASTAPI and the website client (frontend) is built with ReactJS-MUI Framework.
Drafted ERD:
- Go to the respective backend folder
cd/backend
- Create and activate the virtual environment
python3 -m venv venv
source venv/bin/activate
- Install the required packages
pip3 install -r requirements.txt
- Run the local server. The default port will be 'localhost:8000'. This should directly lead you to the API docs. If you delete the test.db, this will automatically regenerate a new sqlite database.
uvicorn main:app --reload
- Go to the respective backend folder
cd/frontend
- Install the required modules via npm
npm install
- Run the app on local server. The default port is 'localhost:3000'
npm start
Random data generator for testing: https://gist.github.com/kayesokua/178affc5af73e01e9a7baa917dea23fa