You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To run this locally you can either set up a local dynamodb instance, instructions [here](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html).
4
+
5
+
Or make a couple dynamodb tables to support the back end. I added the scripts I used to create these tables in the `app/awscli.sh`[file](https://github.com/JadeCara/aws_lambda_api_example/blob/a5569b2dd3500fcb24fb299388f1e08a85594296/app/awscli.sh)
6
+
7
+
### To run locally:
8
+
Clone this repo.
9
+
10
+
>[!TIP]
11
+
> Make sure your aws config is set up!
12
+
13
+
Create your dynamodb tables
14
+
15
+
Navigate into the project directory
16
+
17
+
run ```sh uvicorn app.main:app --reload```
18
+
19
+
>[!TIP]
20
+
> Once that is running docs can be found at http://127.0.0.1:8000/docs where they are kindly generated for us by FastApi using openapi.
21
+
22
+
23
+
Curl Commands for all api calls can be found there or in the docstrings on the routes.
0 commit comments