GithubHelp home page GithubHelp logo

cybergarrett / cake-shop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joelwetzel/cake-shop

0.0 0.0 0.0 4.08 MB

A sample Cake Shop Website built with ASP.NET Core (Multi-Page Application)

License: MIT License

C# 75.46% JavaScript 1.34% CSS 2.46% HTML 20.74%

cake-shop's Introduction

Cake Shop

A sample Cake Shop Website built with ASP.NET Core (Multi-Page Application)

screenshot1

APP/Code Features

  • Only Admin can perform Create/Edit/Delete cakes & manage Orders.
  • Normal User can only can buy cakes & view their orders.
  • Managing Cart System using cookie.
  • Client Side & Server side validation,
  • Cookie Based Authentication & Authorization - Not Session
  • Login through either Username or Email.
  • Responsive UI
  • Repository Pattern
  • Application Architecture is decoupled form ORM (Entity Framework)

Framework / Library

  • ASP.NET Core 2.0 (Backend)
  • Razor View Engine (For generating markup)
  • Entity Framework Core (ORM)
  • ASP.NET Identity (Cookie Based Authentication & Authorization - Not Session)
  • AutoMapper (For mapping into Domain Model & DTO)
  • jQuery & Bootstap 4

To run the project locally:

admin account : [email protected] and Password: Passw@rd!123 (You can change it from appsettings.json before apply update database)

Make sure, dotnet core SDK & npm is installed in your machine.

  • Using VS2019
      > cd \
      > git clone https://github.com/joelwetzel/Cake-Shop.git
      > cd Cake-Shop/
      > cd CakeShop
      > npm install
      > npm update
    
    • Now Open the CakeShop.sln through Visual Studio 2019.
    • Open appsettings.json & make note of the connection string and the admin credentials.
    • Hit Ctrl+Shift+B to build.
    • Open Package Manager Console from Tools and enter update-database. This will create the database within SQL Express.
    • Hit Ctrl+F5 (in Visual Studio) to run without debugging, or F5 to run with debugging.
    • After you run it successfully for the first time, if you inspect the database using SQL Management Studio, you'll see that the admin user was added to the AspNetUsers table, and it was granted a role in the AspNetUserRoles table.

Screenshots

screenshot2 screenshot3 screenshot4 screenshot5 screenshot6

cake-shop's People

Contributors

cybergarrett avatar joelwetzel avatar ritwickdey 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.