Skip to content

CapelleGab/Veliko-PHP

Repository files navigation

🚲 Veliko

Symfony License: MIT

Overview

Veliko is a web application built with Symfony 7 to view real-time information about bike-sharing stations (like Vélib’).

Features:

  • Maximum capacity of bikes per station.
  • Number of available mechanical bikes.
  • Number of available electric bikes.
  • Ability to add favorite stations for quick access.
  • Interactive map display using Leaflet.js.

🧰 Tech Stack / Stack technique

  • Symfony 7
  • Leaflet.js (map display)
  • Vélib' API (real-time data)
  • Mock Vélib API (static dev data)
  • Webpack Encore (assets management)
  • Node.js / npm (front-end)

⚙️ Setup

1. Clone

git clone https://github.com/your-username/veliko.git
cd veliko

2. Env file

cp .env.example .env

Edit required variables (API key, DB, etc.)


3. Docker

docker compose up -d

The provided compose.yaml file contains all needed services.


4. PHP dependencies

composer install

5. Front-end dependencies

npm install

6. Load Migrations

symfony console d:m:m

7. Start Symfony server

symfony serve

8. Assets build (Webpack Encore)

  • Dev:
npm run watch
  • Production:
npm run build

🧑‍💻 Auteur / Author

Développé par Gabin – Student project.


📄 Licence / License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published