Skip to content

Commit 76a4df9

Browse files
authored
Merge pull request #12 from CodePapi/instructions
ft: added video link to readme
2 parents 2e8a81a + 2abd4d4 commit 76a4df9

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

BE/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ async function bootstrap() {
1818
new FastifyAdapter(fastify()),
1919
);
2020
app.enableCors({
21-
origin: 'http://localhost:5173', //in the real world, I would add this into the .env
21+
origin: 'http://localhost:5173', //in the real world, I would add this into the .env.
2222
methods: 'GET,HEAD,PUT,PATCH,POST,DELETE',
2323
credentials: true,
2424
});

FE/src/pages/ShopPage/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ const ShopPage = () => {
3636
return (
3737
<div>
3838
<h1>🛍️ Product Catalog</h1>
39-
{products.length>0&&<p>Browse our selection and add items to your cart!</p>}
39+
{products.length > 0 && (
40+
<p>Browse our selection and add items to your cart!</p>
41+
)}
4042
<div style={{ display: 'flex', flexWrap: 'wrap', gap: '20px' }}>
4143
{products.map((product) => (
4244
<ProductCard key={product.id} product={product} />

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# AWR Store – Full-Stack E-Commerce Project
2+
[Kindly Watch this video before](https://www.loom.com/share/e6824c3ce6c54d828a443f56cce48eee)
3+
24

35
A full-stack e-commerce application built as part of a technical take-home challenge.
46
I did build the app only to follow instructions but also to demonstrate expertise on solving problems, tooling (trade offs), intuitiveness, engineering best practices and creativity.

0 commit comments

Comments
 (0)