https://github.com/cachia36/cloud-ticketing-app-dotnet-gcp
https://github.com/cachia36/cloud-ticketing-app-dotnet-gcp
api backend cloud-native csharp docker dotnet gcp google-cloud rest-api
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cachia36/cloud-ticketing-app-dotnet-gcp
- Owner: Cachia36
- Created: 2025-06-01T21:40:53.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-12T16:31:36.000Z (about 1 year ago)
- Last Synced: 2025-06-12T17:36:34.157Z (about 1 year ago)
- Topics: api, backend, cloud-native, csharp, docker, dotnet, gcp, google-cloud, rest-api
- Language: C#
- Homepage:
- Size: 18.1 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cloud Ticketing App (.NET + GCP)
The hosted website can be accessed here: https://cloud-ticket-app-665990973538.europe-west1.run.app/
A cloud-native ticket management backend built with **.NET**, containerized using **Docker**, and integrated with **Google Cloud Platform (GCP)** for deployment and scaling.
📌 **Purpose**: Developed as part of the SWD6.3B coursework and added to my portfolio to demonstrate backend development, cloud integration, and DevOps-ready engineering.
---
## 🚀 Features
- ✅ RESTful API backend (assumed structure)
- ☁️ GCP integration via service account
- ⚙️ Configured with `appsettings.json` for environment flexibility
- 🐳 Fully Dockerized for deployment
- 🔐 Secure architecture with `.gitignore` for credentials
---
## 🧰 Tech Stack
- **Language**: C#
- **Framework**: .NET 6 / ASP.NET Core
- **Cloud Provider**: Google Cloud Platform
- **Containerization**: Docker
- **IDE**: JetBrains Rider / Visual Studio
---
## 📁 Project Structure
cloud-ticket-app/
├── Program.cs # App entry point
├── appsettings.json # Main config
├── appsettings.Development.json # Local dev config
├── Dockerfile # Container definition
├── gcp-service-account.json # 🔒 (ignored in .gitignore)
├── .gitignore
├── .dockerignore
├── cloud-ticket-app.sln # Solution file
---
## 🔧 Setup & Usage
### ▶️ Run Locally (Dev Mode)
```
dotnet restore
dotnet build
dotnet run
```
Access locally at ```http://localhost:5000``` (or whatever port you configure).
## 🐳 Run with Docker
```
docker build -t cloud-ticket-app
docker run -p 5000:80 cloud-ticket-app
```
## ☁️ GCP Integration
This project uses a Google service account for cloud access. You’ll need to:
1. Create a service account on GCP.
2. Download the credentials file.
3. Set the environment variable:
``` export GOOGLE_APPLICATION_CREDENTIALS=/path/to/your/credentials.json```