A full-stack B2B e-commerce platform connecting local farms and artisan food producers to event-based customers.
- Frontend: React + Context API + Axios
- Backend: NestJS + TypeORM + JWT
- Database: PostgreSQL
- Deployment: Docker Compose + Coolify
git clone https://github.com/yourusername/foodfest-platform.git
cd foodfest-platform
Edit .env
if needed (already configured for local):
JWT_SECRET=topsecret123
DATABASE_URL=postgres://postgres:postgres@postgres:5432/appdb
REACT_APP_API_URL=http://localhost:3000
docker-compose up --build
- Frontend: http://localhost:3001
- Backend: http://localhost:3000
- Swagger Docs: http://localhost:3000/docs
Role | Password | |
---|---|---|
User | user@example.com | password |
Admin | admin@example.com | password |
/frontend β React app
/backend β NestJS API
/docker β Compose & Coolify setup
/db β Migrations & seed
/docs β Swagger, Postman, README
- Use Coolify with
.coolify/project.yml
- Or push this repo to GitHub and connect Git auto-deploy
MIT β use it freely and modify as needed.
Made with π by your architecture assistant.