This scaffold includes the following:
This file configures the app. It's where:
We expect developers to modify this file by:
- Replacing the database connection string
- Importing all models
- Registering all blueprints
Note that create_app
also uses CORS. There is no extra action needed to be done with CORS.
We expect endpoints to be defined here.
The file already imports:
Blueprint
request
jsonify
make_response
db
Feel free to alter these import statements.
This file also has a comment to define a Blueprint. Feel free to delete it.
This project already includes app/models/board.py
and app/models/card.py
, to anticipate the models Board
and Card
.
Both files already import db
, for convenience!
This file lists the dependencies we anticipate are needed for the project.
This file already has the contents needed for a Heroku deployment.
If the create_app
function in app/__init__.py
is renamed or moved, the contents of this file need to change. Otherwise, we don't anticipate this file to change.