Skip to content

Latest commit

 

History

History
63 lines (49 loc) · 2.28 KB

README.md

File metadata and controls

63 lines (49 loc) · 2.28 KB

Restaurant

A fully featured website for a restaurant, developed in .NET 7. It consists of two parts, the front-end and the admin panel. The front-end is the presentation website for the customers. The admin panel allows you to manage the reservations and the content of site.

Live Demo: Front-end / Admin Panel

Features

Front-end

  • Online reservation form
  • Contact form
  • Google reCAPTCHA v3
  • Fully SEO-optimized
  • Fully responsive design
  • Cross-browser compatible
  • Multilingual (Currently Greek and English)

Admin Panel

  • Reservations management
  • Front site content management (Menu/Recommendations/Reviews)
  • Ability to reorder menu, menu items, and recommendations with drag and drop
  • Dashboard with reservation details
  • Send confirmation emails with the booking details

Technologies

Additional libraries used in front-end: lightbox2, OwlCarousel2, Bootstrap 5, jQuery.

Getting Started

First you will need to get an API key for the Google reCAPTCHA v3 and the SendGrid.

To run the application:

  1. Get the code. You can fork the repository or download it locally.

  2. Open the project with Visual Studio

  3. Resolve all the nuget packages

  4. Update the below part in appsettings.json with your Google reCAPTCHA v3 and SendGrid details:

      "SendGridOptions": {
        "ApiKey": "",
        "FromEmail": "",
        "FromName": ""
      },
      "ReCaptcha": {
        "SiteKey": "",
        "SecretKey": "",
        "BaseUrl": "https://www.google.com/recaptcha/api/siteverify"
      },

Create the database

  1. In Visual Studio, open the Package Manager Console
  2. Run the command: update-database

Run the project

You can run the project via Visual Studio or you can navigate to the project folder and run the command: dotnet run