A serverless REST API implemented with Clean Architecture and Domain Driven Design
This project follows the clean architecture style and structured the codebase accordingly.
Image credit to Thang Chung under MIT terms
Most important rule:
Source code dependencies can only point inward. Nothing in an inner circle can know anything about something in an outer circle. In particular, the name of something declared in an outer circle must not be mentioned by the code in the inner circle. That includes functions and classes. variables, or any other named software entity.
- Make sure you have Python 3.8 installed
pip install pipenv==2023.5.19 --userpipenv installpipenv shell
uvicorn main:app --reload --log-level debug --env-file .env
npm install -g serverless
npm install
serverless deploy --stage 'dev' --aws-profile 'default'
