- Backend (
api): Handles data management, WebAPI endpoints, and ElasticSearch integration. - Frontend (
frontend): Built with Blazor WebAssembly, interacts with the API for displaying movies, series, and person details.
- Backend: ASP.NET Core WebAPI, Entity Framework Core, ElasticSearch
- Frontend: Blazor WebAssembly, Razor Components
- Data: Bogus library for generating sample data
- Clone the root repository with submodules:
git clone --recurse-submodules https://github.com/CodesByArash/IMDB.git
cd IMDB- Navigate to the backend and install dependencies:
cd api
dotnet restore- Navigate to the frontend and install dependencies:
cd ../frontend
dotnet restore##Setup Instructions
Database: Configure your appsettings.json connection string for SQL Server.
ElasticSearch: Make sure ElasticSearch is running locally or provide the URL in the backend appsettings.json.
Migrations: Apply EF Core migrations to create the database schema:
cd api
dotnet ef database update##Running the Project
Start the backend API:
cd api
dotnet run- Start the Blazor frontend (WebAssembly):
cd ../frontend
dotnet run- Open your browser at https://localhost:5001 (or the URL shown in console) to see the frontend in action.
Fork the repository and submit pull requests for improvements or fixes.
Open GitHub issues for bug reports or feature requests.
Please follow consistent code style for backend (C#) and frontend (Blazor).
This project is open-source and available under the MIT License.