A Dummy App for E-Commerce Workflow.
![ebuy](https://private-user-images.githubusercontent.com/24422019/330295281-a7e0bc79-5cb0-49f7-b3a8-c16428d3f00c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1NjQ4ODYsIm5iZiI6MTcyNDU2NDU4NiwicGF0aCI6Ii8yNDQyMjAxOS8zMzAyOTUyODEtYTdlMGJjNzktNWNiMC00OWY3LWIzYTgtYzE2NDI4ZDNmMDBjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI1VDA1NDMwNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJlNGU4Y2IwZDljZTZiMzk3ZjJmMGY1OGM1ZGIxYTk2ZmNhZWZmMTAxMGUxMDJjYTkzOTQ5ZWMxMGU4ZmNhOGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.UbukeFSkae-sbp40L9i_bUWIMZeWx7y9YvX2n1s6a9E)
The demo uses Clerk for authentication, it should be safe enough to be used.
Please setup your own .env.local
based on .env.example
before running the project.
# install dependencies
bun install
# pull environment variables from vercel
vercel env pull .env.local
# run the project
bun dev
This project is using the following libraries:
- clerk for Authentication
- stripe for Payment Gateway
- use-shopping-cart for Stripe Wrapper
- jotai for State Management
- shadcn/ui for UI Component
- drizzle for Typescript ORM
- inversivy for Typescript IoC
Written in Typescript using Next and Bun. Powered by Vercel and Clerk.