Ecommerce model 100% functional
- Github
- Vercel
- Mongo DB Atlas
- PayPal
- Cloudinary
-
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;
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
- Deploy on Vercel: Soon
- Repository: https://github.com/vituhonorato/outfit-store
- In case of sensitive bugs like security vulnerabilities, please contact vituhonorato.89@gmail.com directly instead of using issue tracker. We value your effort to improve the security and privacy of this project!
2.0.0.0
- JVMH
Please follow github and join us! Thanks to visiting me and good coding!