https://github.com/inifarhan/skaters
An open source e-commerce project build by Inifarhan with everything new in Next.js 14.
https://github.com/inifarhan/skaters
ecommerce midtrans mysql nextjs payment-gateway prisma react tailwindcss typescript
Last synced: 7 months ago
JSON representation
An open source e-commerce project build by Inifarhan with everything new in Next.js 14.
- Host: GitHub
- URL: https://github.com/inifarhan/skaters
- Owner: inifarhan
- License: mit
- Created: 2023-11-05T03:35:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-24T02:40:35.000Z (over 1 year ago)
- Last Synced: 2024-08-24T03:34:51.647Z (over 1 year ago)
- Topics: ecommerce, midtrans, mysql, nextjs, payment-gateway, prisma, react, tailwindcss, typescript
- Language: TypeScript
- Homepage: https://skaters-inifarhan.vercel.app
- Size: 1.12 MB
- Stars: 137
- Watchers: 2
- Forks: 27
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-shadcnui - Github - inifarhan.vercel.app) | ★196 | (Boilerplates & Starters)
README
# [Skaters](https://skaters-inifarhan.vercel.app/)
This is an open source e-commerce project build by [Inifarhan](https://github.com/inifarhan) with everything new in Next.js 14.
[](https://skaters-inifarhan.vercel.app/)
> **Warning**
> This project is still in development and is not ready for production use.
>
> Please check the [roadmap](https://inifarhan.notion.site/972df2ba233849f692d0bcce51934d43?v=465be802f86740b99f8b4670174086df&pvs=4) of this project in notion
## Tech Stack 💻
- **Framework:** [Next.js](https://nextjs.org)
- **Styling:** [Tailwind CSS](https://tailwindcss.com)
- **Authentication:** [Next Auth](https://authjs.dev)
- **Database:** [Mysql](https://www.mysql.com)
- **ORM:** [Prisma ORM](https://www.prisma.io)
- **UI Components:** [shadcn/ui](https://ui.shadcn.com)
- **File Uploads:** [uploadthing](https://uploadthing.com)
- **Payments infrastructure:** [Midtrans](https://midtrans.com)
## Features to be implemented
Check the [roadmap](https://inifarhan.notion.site/972df2ba233849f692d0bcce51934d43?v=465be802f86740b99f8b4670174086df&pvs=4)
## Running Locally
1. Clone the repository
```bash
git clone https://github.com/inifarhan/skaters.git
```
2. Install dependencies using npm
```bash
npm install
```
3. Copy the `.env.example` to `.env` and update the variables.
```bash
cp .env.example .env
```
4. Configure your .env file with your secret
```env
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=
```
5. Generate prisma client
```bash
npx prisma generate
```
6. Push the database schema
```bash
npx prisma db push
```
7. Seeding the categories data
```bash
npx prisma db seed
```
8. Start the development server
```bash
npm run dev
```
## Where do I deploy this?
- For the Nextjs application, I deploy it on [Vercel](https://vercel.com/)
- And for the MySQL database I deploy it on [Aiven](https://aiven.io/)
## Contributing
Contributions are welcome! Please open an issue if you have any questions or suggestions. Your contributions will be acknowledged. See the [contributing guide](./CONTRIBUTING.md) 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](./LICENSE) file for details.
## Credits
[Taxonomy](https://tx.shadcn.com/), [Skateshop](https://skateshop.sadmn.com/), [shadcn/ui](https://ui.shadcn.com/)