Skip to content

Shift the DB interactions to utilize RideBoardAPI #9

@ag-ayush

Description

@ag-ayush

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions