Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 1.16 KB

README.md

File metadata and controls

38 lines (30 loc) · 1.16 KB

Ecommerce Application

Comprehensive e-commerce platform with an admin dashboard

  • Ingredients: NextJS, ExpressJS, TS, Zod, MongoDB, React Query, Shadcn, Cloudinary

Features/Outcomes

  • 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.

Install dependencies

npm i
pnpm i
yarm i

Getting Started

Run the development server:

npm run dev

Provide environment variables

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)