The frontend of the E-Commerce application built with Next.js and bootstrapped with c3
.
- Fetches products from the backend
- Cart management
:::note The authentication and authorization features are simulated in this demonstration version. :::
Install the project dependencies:
# make sure you are in the correct directory
# cd client
npm install
Start the local development server:
npm run dev
-
Deploy the Server first. Make a note of the deployed URL.
-
Update the URL in
/app/context/AuthContext.tsx
,/app/cart/page.tsx
, and/app/page.tsx
. -
Deploy the project to Cloudflare Pages:
npm run deploy
Contributions are welcome! Please feel free to submit a Pull Request.