/Zadar

🦁 A social media app where you can share everything about the Temtem universe and check all the information about Temtem, including techniques' effectiveness, the types chart, and much more!

Primary LanguageHTML

🦁 Zadar

flask sqlite3 jinja bootstrap

A social media type page where you can share everything about the temtem universe, your opinions about the features of the game and discussions related to battle strategies.

Including information about every Temtem, their traits, techniques, and different stats, presented in a delightful UI.

Tools like the classic type chart, which lets you check your temtem weaknesses and strengths and a technique effectiveness calculator.

🚀 Things I learned about

  • Flask

    • Creating a full-stack Flask application
    • User authentication
      • register, login and logout
      • logged user protected routes
      • session
      • before_app_request decorator for logged user
    • Routing
      • Using parameters & requests arguments
      • GET & POST requests
      • render_template & url_redirect
    • Blueprints
    • Error handling with flash
  • Jinja2

    • extends and includes
    • modular design of templates
    • control structures
  • SQL

    • Database creation/management
    • CRUD operations
  • Python

    • Data handling & using APIs
    • General syntax

💿 Test the app locally

Install dependencies:

  • pip install -r requirements.txt

Create a virtual environment:

  • py -m venv env

Activate the virtual environment:

  • .\env\Scripts\activate

Init the database:

  • flask --app zadar init-db

Run the app:

  • flask --app zadar run --debug

Open http://localhost:5000 to view it in your browser.

📷 App screenshots

demo demo demo demo demo demo demo demo demo demo demo demo demo demo demo