Tsoha-project
Forum
The subject of the project is a forum. Just a simple forum that one can log into and make/view posts and commend etc. Sike, we are doing a database for time trial-times in video games. (Mostly Nintendo racing games = Mario Kart) The main functionality is that one can add times to specific games and/or tracks and get a rank based on those times (see https://www.mariokart64.com/mkdd/standardc.php)
Database
The database will be PostgreSQL-based database hosted on fly.io.
Tables (at least)
- users
- games
- cups
- courses
- standards
- times
Fancier db things
- authenticated user can add times and edit old ones TODO
- other boring user/account things, can login
- can sort times by game, track, time and other things TODO
Välipalautus 3
Most of the fancier db things are todo. This is sort of the MVP (minimun viable product).
Deployment
The site is being deployed at https://tsoha-flask.fly.dev/
Routes
GET https://tsoha-flask.fly.dev/
Works as the main page, can navigate to other sites.
GET db
Just to test if the db works (at the moment)
GET games
List of games.
GET cups
List of cups
GET courses
TODO list of all courses.
GET login
Login page to the site. You will be redirected here, if you try to access other pages without a session (login in).
GET times
List of all times submitted by the players. There is also a button to add new times.
GET create/time
A page where you can submit new times, you have to be logged in for the submission to go through.
Note
If you get an error ´sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:postgres´, change your url from ´postgres://´ to ´postgresql://´.