Coder Social home page Coder Social logo

virunaik / beautybooking Goto Github PK

View Code? Open in Web Editor NEW

This project forked from marinakolova/beautybooking

0.0 0.0 0.0 1.89 MB

Web application for booking beauty appointments (ASP.NET Core 3.1). My project for the ASP.NET Core course at SoftUni.

License: MIT License

JavaScript 19.66% C# 40.10% CSS 7.17% HTML 15.89% Less 8.54% SCSS 8.65%

beautybooking's Introduction

BeautyBooking

A beauty bookings web application for hair, nails, spa etc. appointments. ๐Ÿ“† ๐Ÿ’…

๐ŸŽฏ My project for the ASP.NET Core course at SoftUni. (April 2020)

โ„น๏ธ How It Works

  • Guest visitors:
    • browse categories of beauty services;
    • view salons with their services;
    • read blog posts.
  • Logged Users:
    • book appointments using interactive datepicker;
    • can cancel appointments;
    • can rate salons for which they had confirmed past appointments.
  • Salon Manager (user role):
    • confirms/declines users' appointments for particular salon;
    • controls what services are available for booking in the salon.
  • Admin:
    • creates/deletes blog posts, categories, salons and services;
    • can review the appointments history.

โš’๏ธ Built With

  • ASP.NET Core 3.1
  • Entity Framework (EF) Core 3.1
  • Microsoft SQL Server Express
  • ASP.NET Identity System
  • MVC Areas with Multiple Layouts
  • Razor Pages, Sections, Partial Views
  • View Components
  • Repository Pattern
  • Auto ะœapping
  • Dependency Injection
  • Status Code Pages Middleware
  • Exception Handling Middleware
  • Sorting, Filtering, and Paging with EF Core
  • Data Validation, both Client-side and Server-side
  • Data Validation in the Models and Input View Models
  • Custom Validation Attributes
  • Responsive Design
  • CloudinaryDotNet
  • Bootstrap
  • jQuery

โš™๏ธ Application Configurations

1. The Connection string

is in appsettings.json. If you don't use SQLEXPRESS, you should replace Server=.\\SQLEXPRESS; with Server=.;

2. Database Migrations

would be applied when you run the application, since the ASPNETCORE-ENVIRONMENT is set to Development. If you change it, you should apply the migrations yourself.

3. Seeding sample data

would happen once you run the application, including Test Accounts:

4. Cloudinary Setup - optionally

Running without it:

You won't get an error for missing Cloudinary Credentials - it is handled by using predefined (already uploaded) image, when Cloudinary configuration is missing. So when you are creating content in admin panel, it will be added but not with the image you have chosen.

If you want to actually upload images, you should:

  1. Add Cloudinary Credentials in appsettings.json in the format:
  "Cloudinary": {
    "CloudName": "",
    "ApiKey": "",
    "ApiSecret": "",
    "EnvironmentVariable": ""
  }
  1. Update the Cloudinary Setup part of Startup.cs's ConfigureServices method as follows:
            // Cloudinary Setup
            Cloudinary cloudinary = new Cloudinary(new Account(
                this.configuration["Cloudinary:CloudName"],
                this.configuration["Cloudinary:ApiKey"],
                this.configuration["Cloudinary:ApiSecret"]));
            services.AddSingleton(cloudinary);

๐Ÿ–ผ๏ธ Screenshot - Home Page

BeautyBooking-HomePage

๐Ÿ–ผ๏ธ Screenshot - Make An Appointment Page

BeautyBooking-MakeAnAppointment

License

This project is licensed under the MIT License.

Acknowledgments

Using ASP.NET-MVC-Template developed by:

beautybooking's People

Contributors

marinakolova avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.