Spaces:
Running
on
Zero
Running
on
Zero
CRUD Application with PostgreSQL and SQLAlchemy
This is a CRUD application using PostgreSQL and SQLAlchemy.
Running the Application
- Install the dependencies:
pip install -r requirements.txt
- Run the migrations:
python manage.py migrate
- Run the application:
python manage.py runserver
Testing the Application
- Run the tests:
pytest
Deploying to AWS Lambda
- Create a SAM template:
sam init
- Package the application:
sam package
- Deploy the application:
sam deploy