[GTPS][Plan] GTPS in blog
Game Tracker for PlayStation (GTPS) - Development Plan as a blog
1. Project Overview
GTPS is designed to help users track their gaming interests, integrate metadata from MySQL and Wikidata, and manage personal game lists. This time, as a prototype, GTPS will be implemented as a blog.
2. Feature Scope
Frontend (Bootstrap & AJAX):
-
Login: Simple email/password input clearly positioned at the top.
-
Search Bar: Centralized, allowing searches through MySQL DB and Wikidata.
-
User’s Game List: Dynamically updated using AJAX without page reload.
Backend (Flask, MVC pattern):
-
User Management: MongoDB to store users' data (email/password and games list).
-
Game Search Integration: Utilize existing MySQL and Wikidata logic.
-
AJAX Endpoints: Flask-based endpoints, designed for dynamic frontend interactions.
3. MVC Structure
GTPS├── app.py # Main app entry├── controllers/ # Route logic & API handlers│ ├── game_controller.py│ └── user_controller.py├── models/ # Database schemas│ ├── game_model.py # MySQL (game metadata)│ └── user_model.py # MongoDB (user data)├── views/ # Bootstrap HTML templates│ ├── home.html├── services/ # External services logic│ └── wikidata_service.py└── static/ # Frontend resources ├── css/ └── js/
4. Workflow
-
Frontend UI Mockup:
-
Simple HTML/CSS clearly structured (login/search/game list).
-
-
Backend Implementation:
-
Define MongoDB schema for user management (
user_model.py). -
Implement backend endpoints clearly matching frontend requirements.
-
-
Integration with AJAX:
-
Link frontend UI with backend endpoints clearly using AJAX.
-
-
Iterate incrementally:
-
Continuously implement small frontend/backend features, integrate, and test clearly.
5. Future Deployment Goals
-
Currently focusing on local development.
-
Docker and AWS deployment, set as a future dedicated mini-project.
Comments
Post a Comment