Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/abualiyousef/restaurant-reservation

Restaurant-Reservation is a .NET project for managing restaurant reservations. It features asynchronous methods in LINQ, follows GIT best practices, and includes tasks like creating a database, writing migrations, and implementing CRUD operations and advanced queries.
https://github.com/abualiyousef/restaurant-reservation

crud dotnet efcore linq

Last synced: about 1 month ago
JSON representation

Restaurant-Reservation is a .NET project for managing restaurant reservations. It features asynchronous methods in LINQ, follows GIT best practices, and includes tasks like creating a database, writing migrations, and implementing CRUD operations and advanced queries.

Awesome Lists containing this project

README

        

# Restaurant Reservation System

This repository hosts the `RestaurantReservation` system, a .NET 8 console application for managing restaurant reservations, orders, and employee data.

## Prerequisites

- .NET 8 SDK
- SQL Server Management Studio (SSMS)

## Setup Instructions

1. **Clone the Repository:
```
git clone [repository-url]
cd RestaurantReservation
```

2. **Database Setup:**
- Create a database named `RestaurantReservationCore` using SSMS.
- Apply EF Core migrations from the `RestaurantReservation.Db` project to set up and seed the database.

3. **Running the Application:**
- Navigate to the project directory and run the application:
```
dotnet run
```

## Project Structure

- `RestaurantReservation`: Console application entry point.
- `RestaurantReservation.Db`: Library containing the DbContext, models, and repositories.

## Database Schema

Below is the schema for the `RestaurantReservation` database:

![Database Schema](Images/database_schema.png)

## Implementation Details

- **CRUD Operations**: Methods for creating, updating, and deleting records.
- **Queries**: Functions for complex queries like listing managers or retrieving specific reservations.
- **Database Operations**: Includes views, functions, and stored procedures managed through EF Core.

## Version Control

- Make frequent commits with clear messages.
- Push to GitHub after completing tasks or phases.