This repository provides minimal backend and frontend boilerplates to help teams quickly start building their hackathon project. Each stack is intentionally lightweight so you can add your own logic and structure during development.
You are free to pick any stack included here: PHP, Python, Vue, or React.
/
βββ boilerplate/
β βββ python/ # Python backend boilerplate (OOP + FastAPI skeleton)
β βββ php/ # PHP backend boilerplate (OOP + minimal router)
β βββ frontend/
β βββ vue/ # Minimal Vue debug UI
β βββ react/ # Minimal React debug UI
βββ README.md
This folder contains:
- Empty classes (models, repositories, services)
- A minimal FastAPI router with placeholder controllers
- Go to the folder:
cd boilerplate/python- Install dependencies:
pip install fastapi uvicorn- Start the server:
uvicorn app:app --reload- Visit:
- API root: http://localhost:8000
- Interactive docs: http://localhost:8000/docs
You can now start implementing logic inside the class files and controllers.
This folder contains:
- Empty classes (models, repositories, services)
- A minimal router in
public/index.php - Controllers returning simple placeholder responses
- Go to the folder:
cd boilerplate/php- Start the built-in PHP server:
php -S localhost:8000 -t public- Visit:
- http://localhost:8000/products
- http://localhost:8000/cart
- http://localhost:8000/cart/add
- http://localhost:8000/checkout
You can now begin implementing the actual backend logic.
Both frontends are pure HTML files using CDN-based Vue/React, so no build tools are needed.
- Open:
boilerplate/frontend/vue/index.html
- If your backend runs on a different host/port, edit:
const API_BASE = "http://localhost:8000";This UI provides basic buttons to test your backend endpoints.
- Open:
boilerplate/frontend/react/index.html
- Adjust the backend URL if needed:
const API_BASE = "http://localhost:8000";This UI is also a simple endpoint tester useful during development.
- Fill in backend classes (models, repositories, services)
- Replace placeholder JSON in controllers
- Build out frontend pages based on the API
You can use the debug UIs during development or replace them with your final frontend.
These boilerplates are here to help you move quickly β customize anything you like and build your own solution on top.