-
๐ฑ Iโm interested in DDD/CQRS/EventSourcing/SOLID with .NET, Angular, Python
-
๐ฌ Ask me about .NET Tech
-
๐ซ How to reach me [email protected]
Ecommerce Project
๐ฑ Iโm interested in DDD/CQRS/EventSourcing/SOLID with .NET, Angular, Python
๐ฌ Ask me about .NET Tech
๐ซ How to reach me [email protected]
Change all Product Controller methods to return ProductDTO, not Product.
#22 ProductController POST Verb method does not post because when creating Product to be Posted, the Product objects ID is null
In DB we have 2 tables, Product and Products. We are only using the Products Table so there is no need for the Product Table.
Create List item component to display item
Test post request using hard coded values to check if web api is working
https://www.youtube.com/watch?v=x9UEDRbLhJE&ab_channel=Codevolution
CORS Policy Error when fetching data from local api
Cause of error: The response to the CORS request is missing the required Access-Control-Allow-Origin header
Cross-Origin Resource Sharing (CORS) is an HTTP-header based mechanism that allows a server to indicate any other origins (domain, scheme, or port) than its own from which a browser should permit loading of resources
Temporary Fix for use of 1 api call is to use proxy "proxy": "http://localhost:54501" in package.json
https://www.youtube.com/watch?v=hxyp_LkKDdk&ab_channel=HongLy
Style ListItem Component to be mobile friendly and responsive
Return ProductDetailsDTO for each product controller get methods.
Updated ProductController DELETE VERB Method
Scaffold-DbContext "Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=MainEcommerceDB;Integrated Security=True;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False;" Microsoft.EntityFrameworkCore.SqlServer
Post request with hard coded values isnt being sent, returns status code 400
POST http://localhost:3000/api/Product 400 (Bad Request)
Might be port issue
Don't get product details using API call
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign
Best practices for retrieval of data from db into component
componentDidMount: when component first renders
https://www.codegrepper.com/code-examples/elixir/how+to+retrieve+data+from+database+in+react+js
https://www.youtube.com/watch?v=T3Px88x_PsA&feature=emb_logo&ab_channel=BenAwad
Investigate storing multiple images for said product e.g - https://www.amazon.ca/Oculus-Quest-Advanced-All-One/dp/B08F5THWYL/?_encoding=UTF8&pd_rd_w=9iEXN&pf_rd_p=75e223fa-eccb-4745-942e-958925f7b334&pf_rd_r=J6SAMV6ZM6AWQWA3FYQK&pd_rd_r=137b1a7d-6d54-4b73-8f81-fdac5799e8ca&pd_rd_wg=CDuta&ref_=pd_gw_crs_zg_bs_3198031
Investigate what a repository pattern is, how it's used and implementation examples
#24
Integration tests ensure that an app's components function correctly at a level that includes the app's supporting infrastructure, such as the database, file system, and network.
look at happyblog -> Portfolio -> Modal Card
and do something similar when user presses view product
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.