Skip to content

Commit 6a29242

Browse files
authored
Merge pull request #97 from tecladocode/jose/cou-152-rest-add-insomnia-export-of-endpoints
2 parents c9781e0 + 76bd2a6 commit 6a29242

File tree

18 files changed

+80
-7
lines changed

18 files changed

+80
-7
lines changed

docs/docs-upcoming/11_celery_background_tasks/01_project_overview/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/docs-upcoming/11_celery_background_tasks/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/docs-upcoming/11_celery_background_tasks/_category_.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

docs/docs/03_first_rest_api/01_project_overview/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ In this section we'll make a simple REST API that allows us to:
2121

2222
This is how the interaction will go!
2323

24+
:::tip Insomnia files
25+
Remember to get the Insomnia files for this section or for all sections [here](/insomnia-files/)!
26+
:::
27+
2428
## Create stores
2529

2630
Request:

docs/docs/05_flask_smorest/02_data_model_improvements/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,14 @@ CMD ["flask", "run", "--host", "0.0.0.0"]
8989
</Tabs>
9090
</div>
9191

92-
9392
## New files
9493

94+
:::tip Insomnia files
95+
Remember to get the Insomnia files for this section or for all sections [here](/insomnia-files/)!
96+
97+
There are two Insomnia files for this section: one for lectures 1-5 (before adding Docker), and one for the other lectures (after adding Docker).
98+
:::
99+
95100
Let's start off by creating a `requirements.txt` file with all our dependencies:
96101

97102
```txt title="requirements.txt"

docs/docs/06_sql_storage_sqlalchemy/01_project_overview_sqlalchemy/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ description: Let's look at what we'll do in this section. There are no changes t
55

66
# Project Overview (and why use SQLAlchemy)
77

8+
:::tip Insomnia files
9+
Remember to get the Insomnia files for this section or for all sections [here](/insomnia-files/)!
10+
:::
11+
812
In this section we'll make absolutely no changes to the API! However, we will completely change the way we store data.
913

1014
Up until now, we've been storing data in an "in-memory database": a couple of Python dictionaries. When we stop the app, the data is destroyed. This is obviously not great, so we want to move to a proper store that can keep data around between app restarts!

docs/docs/07_sqlalchemy_many_to_many/01_section_changes/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ description: In this section we add Tags to our Stores, and link these to Items
55

66
# Changes in this section
77

8+
:::tip Insomnia files
9+
Remember to get the Insomnia files for this section or for all sections [here](/insomnia-files/)!
10+
:::
11+
812
It's common for online stores to use "tags" to group items and to be able to search for them a bit more easily.
913

1014
For example, an item "Chair" could be tagged with "Furniture" and "Office".

docs/docs/08_flask_jwt_extended/01_section_changes/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ description: Overview of the API endpoints we'll use for user registration and a
55

66
# Changes in this section
77

8+
:::tip Insomnia files
9+
Remember to get the Insomnia files for this section or for all sections [here](/insomnia-files/)!
10+
:::
11+
812
In this section we will add the following endpoints:
913

1014
| Method | Endpoint | Description |

docs/docs/11_deploy_to_render/01_section_overview/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Overview of this section
22

3+
:::tip Insomnia files
4+
Remember to get the Insomnia files for this section or for all sections [here](/insomnia-files/)!
5+
:::
6+
37
In this section, we will figure out how to get our Flask app and put it on a public server so other people can interact with it! This is called "deploying".
48

59
There are many services we can use to deploy our app. Most of them have some sort of "free tier" so that you can try the deployment without having to pay anything. Usually, if you want better performance or unlimited usage, you have to pay.

docs/docs/12_task_queues_emails/01_send_emails_python_mailgun/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# How to send emails with Python and Mailgun
22

3+
:::tip Insomnia files
4+
Remember to get the Insomnia files for this section or for all sections [here](/insomnia-files/)!
5+
:::
6+
37
To send e-mails using Python, we are going to use Mailgun, a third party service which actually delivers the messages.
48

59
You could use [your own personal account and the built-in `email` and `smtp` libraries](https://blog.teclado.com/learn-python-send-emails/), but most personal e-mail providers will limit how many e-mails you can send per day. Plus, you won't get analytics and a host of other features that you can get with an email service like Mailgun.

0 commit comments

Comments
 (0)