Skaters
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
Tech Stack 💻
- Framework: Next.js
- Styling: Tailwind CSS
- Authentication: Next Auth
- Database: Mysql
- ORM: Prisma ORM
- UI Components: shadcn/ui
- File Uploads: uploadthing
- Payments infrastructure: Midtrans
Features to be implemented
Check the roadmap
Running Locally
-
Clone the repository
git clone https://github.com/inifarhan/skaters.git -
Install dependencies using npm
npm install -
Copy the
.env.exampleto.envand update the variables.cp .env.example .env -
Configure your .env file with your secret
NEXT_PUBLIC_APP_URL="http://localhost:3000" 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
Where do I deploy this?
Contributing
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.
Contributors
Thanks goes to these wonderful people for their contributions:
Made with contrib.rocks
License
Licensed under the MIT License. Check the LICENSE file for details.