Skip to content

Latest commit

 

History

History
47 lines (27 loc) · 1.17 KB

README.md

File metadata and controls

47 lines (27 loc) · 1.17 KB

Inspiration Board: Back-end Layer

This scaffold includes the following:

app/__init__.py

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.

app/routes.py

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.

app/models Directory

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!

requirements.txt

This file lists the dependencies we anticipate are needed for the project.

Procfile

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.