Skip to content

Repository files navigation

FLARE

Empower Your Shopping Experience with Seamless Innovation


🔧 Built with the tools and technologies:


✨ Features

  • Product Browsing – Detailed product pages with images and pricing.
  • Real-Time Cart – Dynamic cart with live updates.
  • Stripe Checkout – Secure and responsive payment integration.
  • Admin Panel – Manage products, orders, and inventory.
  • Smart Suggestions – Related product recommendations by category.
  • User Authentication – Powered by NextAuth.js.
  • Order Management – Track order status and history.

📦 Technologies Used

CategoryTechnologies
FrontendNext.js 15, Tailwind CSS, React, Swiper, Framer Motion
BackendNode.js, Prisma ORM
DatabaseMongoDB (via Prisma)
PaymentsStripe, PayU
AuthNextAuth.js
TestingJest, React Testing Library
UtilsZod, Lodash, Axios, Chart.js, Date-fns
CI/FormattingPrettier, ESLint, Autoprefixer, PostCSS

Getting Started

Install dependencies:

npm install
# or
yarn install

Run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

For testing the stripe checkOut run on a secure http

node server.js

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.js. The page auto-updates as you edit the file.

Environment Variables

Set up the environment variables by creating a .env file at the root of the project: (.env.local and .env.production )

GOOGLE_ID=your-googleID
GOOGLE_SECRET=yourGoogle-Secret
NODE_ENV=
COOKIE_SECRET=your-cookie-secret
DATABASE_URL="your-mongodb-connection-string"
NEXTAUTH_SECRET=your-nextAuth-secret
NEXT_PUBLIC_APP_URL=https://localhost:3000 STRIPE_SECRET_KEY=uour-stripe-scret-key
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=your-public-stripe-key
NEXT_PUBLIC_BASE_URL=https://localhost:3000 # or your production base URL
BASE_URL=http://localhost:3000

Testing

npm test

Or test individual server action as follows

npx jest test/actions/addProduct.test.ts

Acknowledgements

Next.js Prisma Stripe NextAuth.js

About

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages