This is a small web application developed using .NET, ASP.NET Core Web API, and Angular CLI. The application allows users to save map coordinates to a database.
- .NET
- ASP.NET Core Web API
- Angular CLI
- .NET SDK Version: 7.0.402
- Angular CLI: 16.1.8
- Node: 18.10.0
- Package Manager: npm 8.19.2
- OS: win32 x64
This project uses the following packages for the backend:
- Microsoft.AspNetCore.OpenApi Version 7.0.12: This package is used to generate the OpenAPI documentation for the API.
- Microsoft.EntityFrameworkCore.Design Version 7.0.13: This package provides design-time services for Entity Framework Core. It's typically used to create database contexts and perform migrations.
- Microsoft.EntityFrameworkCore.SqlServer Version 7.0.13: This package is the SQL Server database provider for Entity Framework Core.
- Microsoft.EntityFrameworkCore.Tools Version 7.0.13: This package provides additional design-time tools for Entity Framework Core, such as the ability to create migrations scripts.
Please ensure that you have these packages installed before you try to run the project.
- animations, common, compiler, compiler-cli, core, forms
- platform-browser, platform-browser-dynamic, router
- Clone the repository:
git clone <repository-url>
- Navigate into the project directory:
cd <project-name>
- Install the required npm packages:
npm install
- Install Leaflet library:
npm install [email protected] --legacy-peer-deps
- Install ngx-leaflet library:
npm install @asymmetrik/ngx-leaflet --legacy-peer-deps
- Install Leaflet types:
npm install --save-dev @types/leaflet --legacy-peer-deps
- Start the application:
ng serve
After starting the application, you can navigate to https://localhost:4200/points
in your web browser to use the application.
The application interacts with the API endpoint at https://localhost:5001/api/points
to perform operations on the points data.
This API endpoint is responsible for handling requests related to points data, such as retrieving, creating, downloading , and deleting points.