This repository contains the code for the Itera graduate 2023 case assignment.
Clone the repository with git clone git@github.com:Itera/graduate-case-2023.git.
Run the following commands from the root of the repository:
Change directory to one of the projects
cd restaurant/web Install dependencies
npm ciStart the development server
npm run devRun the following commands from the root of the repository:
Change directory to server in selected project
cd restaurant/api/Explore.RestaurantRun server
func host startThe repository is structured as a monorepo, with three projects; restaurant, spa and excursion.
All projects contains:
- A web application (React)
- A serverless API (Azure Functions, .NET)
- Tests
- Documentation
- Infrastructure parameters (Azure, Bicep)
The web and api directories of all projects are structured as standalone projects, with their own package.json and dotnet solution.
See documentation for the projects for detailed information.
The infrastructure for the project is defined in the infrastructure directory. The infrastructure is defined using Bicep templates.
The project is deployed to Azure using GitHub Actions. The deployment is configured in the .github/workflows directory. Workflows for building and testing is triggered on every pull request to the main branch, and deployment is triggered on every push.
See more information about the workflows and deployment in their documentation.