Comprehensive e-commerce platform with an admin dashboard
- Ingredients: NextJS, ExpressJS, TS, Zod, MongoDB, React Query, Shadcn, Cloudinary
- Optimized application speed and user interactions through effective caching with React Query and state management with Zustand.
- Ensured high data accuracy and security with Zod for data validation and secure authentication mechanisms using access and refresh tokens.
- Implemented Stripe-based payment management for a fully functional and scalable online store.
- Leveraged Winston for comprehensive logging, improving error tracking and system reliability. TypeScript across both frontend and backend to ensure type safety and maintainability.
npm i
pnpm i
yarm i
Run the development server:
npm run dev
Example of environment variables is provided in .env.example
NEXT_PUBLIC_BASE_URL='http://localhost:8080/api/v1'
NEXT_PUBLIC_STRIPE_PUBLIC_KEY='pk_test_123'
STRIPE_SECRET_KEY='sk_test_123' # don't make secret key public(visible in client)