This project consists of a .NET Core Web API for managing movies and an Angular client for interacting with the API. The Web API includes CRUD endpoints for movies, filtering, pagination, sorting, and validation. The Angular client provides a user-friendly interface for interacting with the API.
Follow these instructions to set up and run the project locally.
- .NET Core SDK (version 8.0)
- Node.js (with npm)
- Angular CLI: Install globally via npm
npm install -g @angular/cli
-
Clone this repository:
git clone <repository-url> cd MovieApi
-
Set up the API:
-
Development Configuration: Run the following commands:
cd MovieApi dotnet build dotnet run --project MovieApi
-
-
The API should now be running locally. Open a web browser and navigate to
https://localhost:7405/api/movies/all
to verify.
-
Navigate to the Angular client directory:
cd MovieClient
-
Install dependencies:
npm install
-
Run the Angular application:
ng serve
-
Open a web browser and navigate to
http://localhost:4200
to view the Angular client.
- Use the Angular client interface to interact with the API.
- Create, update, delete, and view movies.
- Use filtering, pagination, and sorting functionalities to manage movie data efficiently.
- .NET Core Web API
- Angular
- Entity Framework Core (for database interactions)
- Bootstrap (for styling)