A collection of fantastic recipes!
Development Stack
- Client (UI) - Angular
- Server (Backend) - Django, Django Rest Framework
- Database - Azure SQL Server
- Host - Azure App Service
- Container - Docker image on Azure Container Registry
Infrastructure (DB, Host, Container) created using Terraform
Navigate to the /client
folder and run npm i
then ng serve
. The client will be running on http://localhost:4200
. All outbound requests going to http://localhost:4200/api/*
will be proxied to port 8000
(the server)
Navigate to the /server
folder and run python manage.py runserver
. The server will be running on http://localhost:8000
To set up the cloud infrastructure for a given environment <env>
, navigate to the /infrastructure
folder. Set the variables for the <env>
in a <env>.tfvars
file. Then run
az login
terraform init
terraform plan -out <env>.tfplan -var-file <env>.tfvars
terraform apply <env>.tfplan
To set up the docker image navigate to navigate to the /infrastructure
folder and run
docker-compose up <app name>