Embark on a journey like no other as you explore the world while learning about the impact of your travels on the environment! 🌱
📅 March - May, 2024
Suitcase Adventure is a web-based game that blends entertainment with environmental education.
Players explore global destinations, aiming to reduce their carbon footprint while receiving feedback on their travel emissions. The frontend offers an interactive map, colorful graphics, and user-friendly navigation, while the backend handles user data, airports, flights, and carbon footprint calculations.
The game challenges players to make eco-friendly travel choices, providing educational tips and encouraging strategic decisions to minimize environmental impact.
- Frontend: HTML, CSS, JavaScript
- Backend: Python, Flask
- Database: SQL
- 3rd party API: Open Weather API
- Flask
- Flask-Cors
- geopy
- mysql-connector-python
- python-dotenv
- pytz
- requests
- timezonefinder
- wikipedia
Navigate to the folder backend:
cd backend
and use the command:
pip install -r requirements.txt
Create at the main folder file with name ".env". Add your database password (DB_PASSWORD), OpenWeatherMap API key (WEATHER_API_KEY), host and port to the file.
DB_PASSWORD=''
DB_HOST=''
DB_PORT=''
DB_NAME=''
DB_USER=''
WEATHER_API_KEY=''
💡 Use the suitcase.sql
file to download the database on your SQL server