onlydustxyz / starklings

An interactive tutorial to get you up and running with Starknet
308 stars 84 forks source link

Flask API: Instantiate starklings MySQL Database with a db.py file #227

Open ExoMonk opened 2 years ago

ExoMonk commented 2 years ago

- Using feat/backend branch, create your own

Onto the starklings/starklings-backend/db.py file, Instantiate the full Starklings DB using SQL

1 - Created Tables :

2 - Inserting data in path & exercise tables :

3 - Create dedicated models under starklings/starklings-backend/starklings-backend/models/***.py

Pull Request on feat/backend