This is an open source e-commerce project build by Inifarhan with everything new in Next.js 14.
Warning This project is still in development and is not ready for production use.
Please check the roadmap of this project in notion
- Framework: Next.js
- Styling: Tailwind CSS
- Authentication: Next Auth
- Database: Mysql
- ORM: Prisma ORM
- UI Components: shadcn/ui
- File Uploads: uploadthing
- Payments infrastructure: Midtrans
Check the roadmap
-
Clone the repository
git clone https://github.com/inifarhan/skaters.git
-
Install dependencies using npm
npm install
-
Copy the
.env.example
to.env
and update the variables.cp .env.example .env
-
Configure your .env file with your secret
GOOGLE_CLIENT_ID= GOOGLE_CLIENT_SECRET= NEXT_AUTH_SECRET= UPLOADTHING_SECRET= UPLOADTHING_APP_ID= MIDTRANS_CLIENT_KEY= MIDTRANS_SERVER_KEY= DATABASE_URL=
-
Generate prisma client
npx prisma generate
-
Push the database schema
npx prisma db push
-
Seeding the categories data
npx prisma db seed
-
Start the development server
npm run dev
Contributions are welcome! Please open an issue if you have any questions or suggestions. Your contributions will be acknowledged. See the contributing guide for more information.
Thanks goes to these wonderful people for their contributions:
Made with contrib.rocks
Licensed under the MIT License. Check the LICENSE file for details.