Skip to content

belsimpel/hackathon2025

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“¦ Gomibo Hackathon

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.


πŸ—‚ Project Structure

/
β”œβ”€β”€ 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

πŸš€ Backend Setup

🐍 Python β€” boilerplate/python/

This folder contains:

  • Empty classes (models, repositories, services)
  • A minimal FastAPI router with placeholder controllers

Run the Python backend

  1. Go to the folder:
cd boilerplate/python
  1. Install dependencies:
pip install fastapi uvicorn
  1. Start the server:
uvicorn app:app --reload
  1. Visit:

You can now start implementing logic inside the class files and controllers.


🐘 PHP β€” boilerplate/php/

This folder contains:

  • Empty classes (models, repositories, services)
  • A minimal router in public/index.php
  • Controllers returning simple placeholder responses

Run the PHP backend

  1. Go to the folder:
cd boilerplate/php
  1. Start the built-in PHP server:
php -S localhost:8000 -t public
  1. Visit:

You can now begin implementing the actual backend logic.


🌐 Frontend Setup

Both frontends are pure HTML files using CDN-based Vue/React, so no build tools are needed.

🟩 Vue β€” boilerplate/frontend/vue/

  1. Open:
boilerplate/frontend/vue/index.html
  1. 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.


🟦 React β€” boilerplate/frontend/react/

  1. Open:
boilerplate/frontend/react/index.html
  1. Adjust the backend URL if needed:
const API_BASE = "http://localhost:8000";

This UI is also a simple endpoint tester useful during development.


🧩 Next Steps

  • 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.


πŸŽ‰ Have fun building!

These boilerplates are here to help you move quickly β€” customize anything you like and build your own solution on top.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published