You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The application currently makes calls to the database when anything changes. The DB interaction should be removed altogether from this application and it should utilize the API. This application shouldn't require any information on where the database is nor the credentials to access it. The API can be accessed through the website or through GitHub.
Summary of changes required:
Need to change the backend in init.py. Functions should call the api and pass the JSON object as argument instead of the current implementation such as events = Ride.query.order_by(Ride.start_time.asc()).all() and events=events.
Then jinja should be fixed on HTML pages to parse JSON objects rather than the current object from the database.
The text was updated successfully, but these errors were encountered:
The application currently makes calls to the database when anything changes. The DB interaction should be removed altogether from this application and it should utilize the API. This application shouldn't require any information on where the database is nor the credentials to access it. The API can be accessed through the website or through GitHub.
Summary of changes required:
Need to change the backend in init.py. Functions should call the api and pass the JSON object as argument instead of the current implementation such as
events = Ride.query.order_by(Ride.start_time.asc()).all()
andevents=events
.Then jinja should be fixed on HTML pages to parse JSON objects rather than the current object from the database.
The text was updated successfully, but these errors were encountered: