Check open source ecommerce code at branch ecommerce https://github.com/arzivre/jesho/tree/e-commerce
- Login with Google
- Cart
- Product List
- Checkout
- Order List
Clone the project
git clone https://github.com/arzivre/jesho.git
git checkout e-commerce
Go to the project directory
cd jesho
Install dependencies with yarn or npm
npm install
yarn
Start the development server
npm run dev
yarn dev
To run this project, you will need to add the following environment variables to your .env file
FIREBASE_CLIENT_EMAIL
FIREBASE_PRIVATE_KEY
NEXT_PUBLIC_FIREBASE_API_KEY
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN
NEXT_PUBLIC_FIREBASE_PROJECT_ID
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET
XENDIT_CALLBACK_TOKEN_API
XENDIT_SECRET_KEY
We recommend deploying to Vercel. It makes it super easy to deploy NextJs apps.
- Push your code to a GitHub repository.
- Go to Vercel and sign up with GitHub.
- Create a Project and import the repository you pushed your code to.
- Add your environment variables.
- Click Deploy
- Now whenever you push a change to your repository, Vercel will automatically redeploy your website!
If you have any feedback, please reach out to us at [email protected] or Twitter