- Notifications
You must be signed in to change notification settings - Fork0
epfl-fsd/oslf
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Your essential guide to finding the best french fries on EPFL campus
Explore the docs »
View Website ·Report Bug ·Request Feature
Où sont les frites? is the definitive application for locating french fries across EPFL's campus. Whether you're a student rushing between classes, a researcher on lunch break, or a visitor exploring the campus, our app helps you find the nearest spot serving fresh, hot fries.
- Real-time availability of fries at all campus restaurants and food trucks
- Daily menu integration with campus restaurants
- Queue time estimates during peak hours
- Price comparison between different campus locations
- Rating system for fries quality and portion size
- Special offers and "fries of the day" notifications
- Filter by location (Esplanade, Quartier Nord, Satellite, etc.)
- Opening hours and lunch rush hours information
Our application leverages modern web technologies to provide the best user experience:
This guide is divided into two sections:
- Production Deployment: For users who want to run the application
- Development Setup: For developers who want to contribute to the project
- Docker
Create a.env
file with the following required variables:
# API Configuration (Required)API_USERNAME=XXXXXXXXXXXXXXX# Your API usernameAPI_PASSWORD=XXXXXXXXXXXXXXX# Your API passwordAPI_URL=XXXXXXXXXXXXXXX# API endpoint URL
Pull the image from GitHub Container Registry:
docker pull ghcr.io/epfl-fsd/ousontlesfrites:latest
Run the container:
docker run -d \ --name ousontlesfrites \ -p 3000:3000 \ --env-file .env \ ghcr.io/epfl-fsd/ousontlesfrites:latest
Access the application athttp://localhost:3000
Stop the container:
docker stop ousontlesfrites
Start an existing container:
docker start ousontlesfrites
Remove the container:
docker rm ousontlesfrites
- Node.js (version 20 or higher)
- npm
- Docker (optional, for local container testing)
Clone the repository
git clone https://github.com/epfl-fsd/ousontlesfrites.git
Install dependencies
npm install
Create
.env
file with required variables (see Production section)Start development server
npm run dev
Accesshttp://localhost:3000
Build a local Docker image:
docker build -t ousontlesfrites-dev.
Run the development image:
docker run -d \ --name ousontlesfrites-dev \ -p 3000:3000 \ --env-file .env \ ousontlesfrites-dev