Skip to content

Mobb-Fixer/property-price-api

 
 

Repository files navigation

Property Price API

An ASP.NET Core web API which returns suggested property offer price

cicd cloud run workflow

API URL here: https://property-price-api-3i2mtbjusq-ew.a.run.app

The list of repositories are as follow:

  • ASP.NET Core web API repository here
  • React with Vite client repository here
  • Google Cloud Platform (GCP) with Terraform infrastructure repository here

Pre-requisite

Ensure you have installed .NET SDK:

dotnet --version

Run app locally

dotnet run
curl http://localhost:5049/ping

Build/run app locally via dotnet

dotnet restore
dotnet publish -c Release -o out
cd out
dotnet property-price-api.dll --environment=Development

Build/run app via Docker

cd property-price-api
docker build -t property-price-api:v1 .
docker run -p 5001:8080 property-price-api:v1
curl http://localhost:5001/ping

EF Core migration

  • See documentation here
dotnet ef migrations add AddNewColumn
dotnet ef database update

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

An ASP.NET Core web API which returns suggested property offer price

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 98.3%
  • Dockerfile 1.7%