Comfy Sloth is a full-fledged E-commerce platform where users can browse products, add or remove items from their cart, apply various filters, sort products and checkout using Stripe payment.
In this build, I used React, TypeScript, Morgan, Dotenv, Axios, Netlify-CLI and etc.
- Clone the repository to your local machine.
- Navigate to the project directory in your terminal.
- Run
npm install
to install the necessary dependencies. - Create a
.env
file at the root of the project and add the following environment variables:
VITE_APP_AUTH_DOMAIN=your_auth0_domain
VITE_APP_AUTH_CLIENT_ID=your_auth0_client_id
VITE_STRIPE_PUBLIC_KEY=your_stripe_public_key
VITE_APP_STRIPE_SECRET_KEY=your_stripe_secret_key
then run npm start.