Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 950 Bytes

README.md

File metadata and controls

41 lines (24 loc) · 950 Bytes

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.