Git Product home page Git Product logo

skinet-v6's Introduction

Skinet

Course repository for the Skinet app created on .Net 5.0 and Angular 11 available on Udemy here:

Udemy course

If you are looking for the repository for the version of this app created on .Net Core 3.1 and Angular v9 then this is available here:

https://github.com/TryCatchLearn/Skinet3.1

skinet-v6's People

Contributors

trycatchlearn 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

skinet-v6's Issues

cannot update database Section-2 L-14

dotnet ef database update .Net 6

System.InvalidOperationException: A relational store has been configured without specifying either the DbConnection or connection string to use. at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.GetValidatedConnectionString() at Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal.SqliteRelationalConnection.CreateReadOnlyConnection() at Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal.SqliteDatabaseCreator.Exists() at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.Exists() at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.Migrate(String targetMigration) at Microsoft.EntityFrameworkCore.Design.Internal.MigrationsOperations.UpdateDatabase(String targetMigration, String connectionString, String contextType) at Microsoft.EntityFrameworkCore.Design.OperationExecutor.UpdateDatabaseImpl(String targetMigration, String connectionString, String contextType) at Microsoft.EntityFrameworkCore.Design.OperationExecutor.UpdateDatabase.<>c__DisplayClass0_0.<.ctor>b__0() at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action) A relational store has been configured without specifying either the DbConnection or connection string to use.

Error in Activator.CreateInstance

Actually I'm implementing the same concept using mongodb. but getting error like
System.MissingMethodException: Constructor on type 'Infrastructure.Data.GenericRepository1[[Core.Entities.Product, Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' not found.

complete line : var repositoryInstance = Activator.CreateInstance( repositoryType.MakeGenericType(typeof(T)), _context);
_context is from IMongoContext

Redis server connection

It was not possible to connect to the redis server(s). UnableToConnect on localhost:6379/Interactive, Initializing/NotStarted, last: NONE, origin: BeginConnectAsync, outstanding: 0, last-read: 2s ago, last-write: 2s ago, keep-alive: 60s, state: Connecting, mgr: 10 of 10 available, last-heartbeat: never, global: 4s ago, v: 2.2.4.27433
error

Bug in pager (minor)

Pre condition: have the main product list with 2 pages (or more) AND one of the filters lists in the left panel (ex. types filter) generating a result having 2 pages (or more).
1)Open main product page. In pager, select page 2.
2)Now click in "types" filter list inside left panel.

Problem: after step 2, button "2 " from pager is highlighted (correct is "1")
Solution: when click the left panel filter, the pager control should reset the active page to 1. This can be used like this:
<pagination ... [(ngModel)]="currentPage" ...

Problem: this is easy fix when the "pagination" control is in the shop page. But after moving it to a separated control (pager) the fix is not easy. Seems like something like this is needed

I removed the component "pager" because i simply dont understand how pass [(ngModel)] stuff from components.
Regards, fred

Send the basket Id when creating PaymentIntent in order creation

I've noticed that you are sending the wrong value when creating/updating a Payment Intent in order creation.

https://github.com/TryCatchLearn/Skinet/blob/8968bc3c3a47281d4e9c96491f03272836817d89/Infrastructure/Services/OrderService.cs#L55

The method CreateOrUpdatePaymentIntent from IPaymentService as you can see below:

Task<CustomerBasket> CreateOrUpdatePaymentIntent(string basketId);

Instead of sending basket.PaymentIntentId you should send basket.Id.

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.