The backend is powered by Python, using SQLite for database management and the Peewee library for ORM (Object-Relational Mapping). This setup is designed specifically for demo purposes, providing a robust and efficient way to handle data and server-side logic. The API is locally hosted using AWS SAM and nginx, providing a consistent development environment.
The backend architecture is defined in an AWS SAM template and utilizes AWS API Gateway and AWS Lambda to provide a scalable API solution. AWS API Gateway manages API endpoints, while separate AWS Lambda functions handle different endpoints and business logic. This serverless setup ensures efficient, scalable, and cost-effective backend.
The backend is deployed using AWS SAM, which automates the packaging and deployment of serverless resources like AWS API Gateway and AWS Lambda. SAM CLI commands manage the deployment process, ensuring a consistent and efficient setup for backend services.