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
Right now, the backend is set up to have all of the routes in api/app.py. In order to make it more scalable, make the routes modular. Here is a file structure you could use: api/
|-- src/
|----| app.py
|----| routes/
|------| __init__.py
|------| slo_county.py
Right now, the backend is set up to have all of the routes in api/app.py. In order to make it more scalable, make the routes modular. Here is a file structure you could use:
api/
|--
src/
|----|
app.py
|----|
routes/
|------|
__init__.py
|------|
slo_county.py
Requirements:
As always, make sure to run the linter and formatter and make sure everything works when you run locally!
The text was updated successfully, but these errors were encountered: