Overview
OmitPlastic is a full-stack app designed to help people reduce plastic consumption by purchasing products with less plastic content. It is a customizable e-commerce affiliate app that utilizes Next.js, Prisma, and MySQL. The app also utilizes the Amazon Associates affiliate marketing program. OmitPlastic can be adapted for other types of products, making it a versatile solution for creating sustainable and eco-friendly online marketplaces.
Features
- Customizable e-commerce affiliate app
- Utilizes Next.js, Prisma, and MySQL
- Supports Amazon Associates affiliate marketing program
- Can be adapted for other types of products
Installation
To install and set up the OmitPlastic theme, follow these steps:
- Clone the OmitPlastic repository to your local computer.
- Install the project dependencies by running the command
npm installoryarn install. - Create a free account and MySQL database on PlanetScale.
- Bootstrap a basic Prisma setup by running the command
npx prisma init. - Create the tables in the database using Prisma by running the command
npx prisma db push. - Open the
example.envfile and replace the dummy connection URLDATABASE_URLwith your MySQL database connection URL. - Run the application locally by running the command
npm run devoryarn dev. - Open
http://localhost:3000/in your browser to view the app.
Summary
OmitPlastic is a powerful and customizable full-stack app designed to help reduce plastic consumption by promoting products with less plastic content. With its easy installation process and support for affiliate marketing through Amazon Associates, OmitPlastic provides a versatile solution for creating sustainable and eco-friendly online marketplaces. By utilizing technologies such as Next.js, Prisma, and MySQL, OmitPlastic offers a robust and efficient platform for users to contribute towards reducing plastic waste.