/outfit-store

Model project of a 100% functional ecommerce using Next.js | MongoDB | TailWind CSS | React.js made with a PAYPAL payment API. UI UX subject to modification to suit customer taste.

Primary LanguageTypeScript

Outfit Store MODEL

Ecommerce model 100% functional

Desktop Layout

outfitpclayout2

Smartphone Layout

outfitsplayout

Dashboard

dashboarddesktop

Technologies


jvmh-typescript jvmh-nextjs jvmh-reactjs jvmh-nodejs jvmh-mongodb jvmh-cloudnary jvmh-tailwindcss jvmh-jest

Services Used

  • Github
  • Vercel
  • Mongo DB Atlas
  • PayPal
  • Cloudinary

Getting started

  • Dependency

    • Formik
    • JS-cookie
    • Typescript
    • Toastfy
    • React-icons
    • YUP
    • Mongoose
    • Next-auth
    • Axios
  • To install the dependencies.

  $ npm install
  • To run the project.
  $ npm run dev
  • To seed on data base
import Product from "@/models/Product";
import User from "@/models/User";
import data from "@/utils/data";
import db from "../../utils/db"

const handler = async (req:any, res:any) => {
  await db.connect();
  await User.deleteMany();
  await User.insertMany(data.users);
  await Product.deleteMany();
  await Product.insertMany(data.products);
  await db.disconnect();
  res.send({message: 'seeded successfully'})

};
export default handler;

Features

The main features of the application are:

  • Auth register and login
  • Integration system with Mongo DB
  • Use Paypal API to mange payment of these application

Links

Versioning

2.0.0.0

Authors

  • JVMH

Please follow github and join us! Thanks to visiting me and good coding!