A simple ASP.NET Core Web API that serves Australian-style addresses with an autocomplete search endpoint.
Built with Entity Framework Core and seeded using Bogus (Faker for .NET).
The API is designed for testing address autocomplete functionality in front-end apps (e.g., React) and supports seeding thousands of fake addresses for demos.
- REST API built on .NET 8 Web API
- Entity Framework Core + SQL Server for persistence
- Bogus for realistic fake Australian addresses
- Autocomplete search endpoint (
/api/addresses/search) - On-demand seeding endpoint (
/api/admin/seed) - Supports random states with realistic postcode ranges
- CORS protection for whitelisted front-end origins
- Swagger UI for exploring endpoints
- Visual Studio 2022 with ASP.NET and web development workload
- .NET 8 SDK
- SQL Server (Express or LocalDB)
- (Optional) SQL Server Management Studio (SSMS) for inspecting the database
git clone https://github.com/yourusername/AddressService.git
cd AddressService/AddressService.Api