A demo e-commerce platform for showcasing and selling products with AI-generated product descriptions. Built with Next.js, GraphQL, MongoDB, Apollo GraphQL, and Co:here.
You can see the demo HERE
- Clone the repository
git clone https://github.com/engeldlgado/e-commerce-ia.git
- Install the dependencies
npm install
# or
yarn install
# or
pnpm install
- Add your free api from the next list and add it to your
.env.local
- API key for Co:here AI
- API key for Cloudinary and for the upload folder read this documentation
- Create a MongoDB Atlas database for free here
MONGO_URI= #your mongo db server address
JWT_SECRET= #secret key of jwt, can be anything
# Cloudinary API Credentials
CLOUDINARY_API_KEY= #your api key
CLOUDINARY_API_SECRET= #your api secret
CLOUDINARY_NAME= #your user cloud name
CLOUDINARY_UPLOAD_PRESET= #your upload preset
# COHERE API Credentials
COHERE_API_KEY= #api key from cohere
- Run the development server
npm run dev
# or
yarn dev
# or
pnpm dev
- Open http://localhost:3000 in your browser.
- User-friendly interface for showcasing and selling products
- AI-generated product descriptions for accurate and attractive representation
- Login functionality, if you dont have an account u can create by entering any username and password, an account will be automatically created if you do not have one. This is for demonstration purposes only and no personal data is stored.
This demo application can be easily deployed on the Vercel Platform. For more information, check out the Next.js deployment documentation.