Skip to content

SeniorIntern/ecommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Comprehensive e-commerce platform with an admin dashboard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages