This guide walks you through everything required to run Pokédex Web App on your local machine. By the end, you will have a fully functional Flask server running atDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Navi-27/Proyecto-UPC/llms.txt
Use this file to discover all available pages before exploring further.
http://127.0.0.1:5000 with all 1025 Pokémon loaded, a working SQLite database, and the ability to register an account, browse the Pokédex, and build your personal team.
Create and activate a virtual environment
Using a virtual environment keeps the project’s dependencies isolated from your system Python installation.Your terminal prompt should now show
(venv) to confirm the environment is active.Install dependencies
Install all required packages from This installs the following packages:
requirements.txt:| Package | Purpose |
|---|---|
flask | Web framework and routing |
requests | HTTP client for PokéAPI calls |
gunicorn | Production WSGI server |
werkzeug | Password hashing and security utilities |
Run the development server
Start the Flask development server directly with Python:Alternatively, use the Flask CLI:You will see log output in your terminal as the app initialises the SQLite database and begins fetching Pokémon data.
Open the app in your browser
Navigate to http://127.0.0.1:5000 in your browser.On first launch, the app calls
PokeAPI.obtener_lista_pokemones(limite=1025) to download all 1025 Pokémon from https://pokeapi.co/api/v2 and saves them to the local pokedex.db SQLite cache. Watch the terminal for Descargando N/1025... progress messages.First-run download: The initial startup fetches all 1025 Pokémon from PokéAPI one by one, which can take a few minutes depending on your internet connection. Once complete, all Pokémon are stored in the local
pokedex.db SQLite database and every subsequent start loads instantly from the cache — no network calls required.What’s next?
Browsing Pokémon
Learn how to search by name, filter by type, and read the detailed stat view.
Account Registration
Create an account to unlock personal Pokédex tracking and the team builder.
Team Builder
Add up to 6 Pokémon to your personal team and manage your roster.
Project Structure
Explore how routes, models, services, and templates are organised.