File tree Expand file tree Collapse file tree 5 files changed +18
-3
lines changed
Expand file tree Collapse file tree 5 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 1- import os
2-
31from fastapi import FastAPI
42from fastapi import Request
53from fastapi .templating import Jinja2Templates
97from routes .v1 import company
108from routes .v1 import charge
119
10+
1211app = FastAPI ()
1312app .include_router (email .router )
1413app .include_router (contact .router )
1514app .include_router (company .router )
1615app .include_router (charge .router )
1716
17+
1818templates = Jinja2Templates (directory = "templates" )
1919
2020
Original file line number Diff line number Diff line change @@ -9,4 +9,7 @@ STRIPE_SECRET_KEY = str
99HUBSPOT_API_KEY = str
1010SENDGRID_API_KEY = str
1111WELCOME_MESSAGE_TEMPLATE_ID=str
12- PAYMENT_CONFIRMATION_TEMPLATE_ID=str
12+ PAYMENT_CONFIRMATION_TEMPLATE_ID=str
13+ AWS_SECRET_KEY_ID = str
14+ AWS_SECRET_KEY = str
15+ AWS_REGION = str
Original file line number Diff line number Diff line change 11alembic == 1.7.7
22anyio == 3.6.1
33black == 22.3.0
4+ boto3 == 1.23.5
45certifi == 2021.10.8
56coverage == 6.3.3
67charset-normalizer == 2.0.12
Original file line number Diff line number Diff line change 2323TEST_DATA_DIR = BASE_DIR .joinpath ("tests/data" )
2424LOG_FILE_DIR = BASE_DIR .joinpath ("logs" )
2525LOG_FILE_NAME = "app.json"
26+
27+ AWS_SECRET_KEY_ID = config ('AWS_SECRET_KEY_ID' )
28+ AWS_SECRET_KEY = config ('AWS_SECRET_KEY' )
29+ AWS_REGION = config ('AWS_REGION' )
Original file line number Diff line number Diff line change 4949 - Integrate pytest
5050 - Add tests for the API endpoints
5151 - Add tests for the stripe api functionality
52+ - Add tests for hubspot functions
53+
54+ # Task 7 (IN PROGRESS)
55+
56+ - Integrate boto3
57+ - Add tests for the API endpoints
58+ - Add tests for the stripe api functionality
5259 - Add tests for hubspot functions
You can’t perform that action at this time.
0 commit comments