Coder Social home page Coder Social logo

ankitsharma-007 / bookcart Goto Github PK

View Code? Open in Web Editor NEW
170.0 14.0 124.0 8.07 MB

An e-commerce application for an online book store, created with ASP.NET Core and Angular, using SQL Server as a database

Home Page: https://bookcart.azurewebsites.net/

License: MIT License

JavaScript 0.91% TypeScript 44.05% HTML 24.06% C# 28.61% SCSS 2.38%
asp-net-core sql-server authentication authorization angular angular-material ankit-sharma bootstrap typescript jwt

bookcart's Introduction

BookCart

An e-commerce application for an online book store created with ASP.NET Core and Angular, using SQL Server as database.

Google Gemini integration

BookCartGeminiDemo.mp4

Concepts Covered

ASP .NET Core

  • Web API created using EF Core DB first approach
  • Policy based Authorization using JWT
  • Repository pattern
  • Dependency Injection
  • Swagger implementation

Angular

  • Angular Material
  • Routing & Navigation
  • Auth guards
  • Lazy loading of modules
  • HTTP Interceptors
  • Reactive forms
  • Form validation (inbuilt and custom)
  • Pipes

Prerequisites

  • Visual Studio 2022
  • SQL Server
  • .NET Core 8.0 SDK or above
  • Node.Js V16.0 or above

Steps to run the app

  1. Clone the Repo
  2. Scaffold the database using the DBScript
  3. Put your own connection string in appsettings.json file.
  4. Build and launch the application from Visual Studio.

Live Demo

https://bookcart.azurewebsites.net/

Licenese

MIT

See Also

bookcart's People

Contributors

ankitsharma-007 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bookcart's Issues

Add a security policy

Hey there!

I belong to an open source security research community, and a member (@ibarrionuevo) has found an issue, but doesn’t know the best way to disclose it.

If not a hassle, might you kindly add a SECURITY.md file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.

Thank you for your consideration, and I look forward to hearing from you!

(cc @huntr-helper)

No relation between domain models

I saw the .NET API project and the DB Script with the Model classes. I am a newbie. is it good to not maintain any relation between models? I am asking because your app is working awesome though you have violated some principles of OOP and RDBMS. Should we focus on both the things or just code to get the work done. I liked that domain classes are clean and proper clean coding is followed by you.

I want to know how resolve it

Hi
Ankit

how to resolve which one provide you.

I need entire application working condition can you share the Buy Ankit Sharma a coffee details

and share the working code

Scaffolding DbContext Not working

Scaffolding DbContext Not working

A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)

also can you share table script with Data

How does a reader open a book they've purchased?

Hi, thanks for the project!

I'm wondering whether it's worth exploring integration with something like KavitaReader for a user to make a purchase and then be able to read their purchased eBooks using something like KavitaReader. Kavita seems pretty full featured and might "just" need an integration to handle permissions for what a user can/can't read based on the eCommerce system.

What do you think?

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.