Swag Shop
An e-commerence multitenant shop app.
Core idea
This app provides a dashboard for managing individual shop data like products and similar things. Then it's up to the tenant to craft their own frontend and make use of the API.
Running
Backend
- Dependencies Straight forward, you need to install dependencies via uv
cd backend
uv sync
-
Fill out
.env
You can use.env.example
as a reference -
Run it!
fastapi dev backend/app/main.py
Frontend
- Dependencies Using npm (or your favorite package manager)
cd frontend
npm install
-
Fill out
.env
As with backend, there is.env.example
-
Run it! There is a dev package script
npm run dev
- For deployment a
docker-compose.yml
is provided
Tech Stack
- PostgreSQL
- Backend - FastAPI + SQLModel
- Frontend - Vite + Typescript + ShadcnUI + Tanstack Query
Future plans
- True API integration
- Audit log
- Stripe integration
Description
Languages
TypeScript
91.9%
Python
6.4%
CSS
0.7%
JavaScript
0.6%
Dockerfile
0.3%