An open API service indexing awesome lists of open source software.

https://github.com/codesbyarash/imdb

IMDB Clone Website build using ASP.NET WebAPI and Blazor
https://github.com/codesbyarash/imdb

asp-net asp-net-core asp-net-core-web-api blazor blazor-webassembly csharp database sqlserver

Last synced: about 2 months ago
JSON representation

IMDB Clone Website build using ASP.NET WebAPI and Blazor

Awesome Lists containing this project

README

          

# IMDB Clone

- **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.

---

## Technologies

- **Backend**: ASP.NET Core WebAPI, Entity Framework Core, ElasticSearch
- **Frontend**: Blazor WebAssembly, Razor Components
- **Data**: Bogus library for generating sample data

---

## Getting Started

1. Clone the root repository with submodules:
```bash
git clone --recurse-submodules https://github.com/CodesByArash/IMDB.git
cd IMDB
```
2. Navigate to the backend and install dependencies:
```bash
cd api
dotnet restore
```
3. Navigate to the frontend and install dependencies:
```bash
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:
```bash
cd api
dotnet ef database update
```
##Running the Project

Start the backend API:
```bash
cd api
dotnet run
```
2. Start the Blazor frontend (WebAssembly):
```bash
cd ../frontend
dotnet run
```
3. Open your browser at https://localhost:5001 (or the URL shown in console) to see the frontend in action.

## Contributing / Issues

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).

## License

This project is open-source and available under the MIT License.