This Next.js E-commerce application is designed to support both an admin dashboard and a store, leveraging technologies such as Cloudinary for image management, PlanetScale as the database, Prisma for database interaction, TypeScript for enhanced type safety, and Next.js for a robust and performant front end.
-
Admin Dashboard:
- Efficient management of products, orders, and user data.
- Seamless integration with Cloudinary for image storage and retrieval.
- TypeScript for enhanced development productivity and maintainability.
-
Store:
- Responsive and intuitive user interface built with Next.js for optimal performance.
- Utilizes Prisma for database interactions, ensuring data integrity and security.
- Enhanced user experience with TypeScript for strict typing and code clarity.
-
Database:
- PlanetScale: Scalable and reliable distributed database.
- Prisma: ORM for seamless database interactions and TypeScript support.
- Node.js and npm installed.
- PlanetScale and Cloudinary accounts for API keys and configuration.
- Clone the repository.
- Navigate to the project directory.
- Run
npm install
to install dependencies.
- Set up your environment variables:
- Create an
.env
file based on the provided.env.example
. - Fill in your Cloudinary, PlanetScale, and other necessary API keys.
- Create an
- Run
npm run dev
to start the development server. - Access the admin dashboard and store at the provided URLs.
If you encounter any issues or find a bug, please report it on the GitHub Issues page.
This Next.js E-commerce App is licensed under the MIT License. Feel free to use, modify, and distribute as needed.