Skip to content

Commit

Permalink
Update starting file structure to include models and routes directory…
Browse files Browse the repository at this point in the history
…, update README tips
  • Loading branch information
yangashley committed Feb 20, 2025
1 parent 37f8bf4 commit 3a5e628
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ We will focus on creating RESTful endpoints for CRUD operations.
## Tips

- Don't forget to work in a virtual environment
- Put endpoints in `app/routes.py`
- Organize your routes so that all routes corresponding to a particular model will be written in a single file. Route files should be created in the `app/routes` directory.
- Organize your models in the `app/models` directory.
- Add configuration, such as registering blueprints or configuring databases, in `app/__init__.py`
- Commit and push often

Expand Down
Empty file added app/models/__init__.py
Empty file.
2 changes: 0 additions & 2 deletions app/routes.py

This file was deleted.

Empty file added app/routes/__init__.py
Empty file.

0 comments on commit 3a5e628

Please sign in to comment.