/skaters

An open source e-commerce project build by Inifarhan with everything new in Next.js 14.

Primary LanguageTypeScript

This is an open source e-commerce project build by Inifarhan with everything new in Next.js 14.

Skaters

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 💻

Features to be implemented

Check the roadmap

Running Locally

  1. Clone the repository

    git clone https://github.com/inifarhan/skaters.git
  2. Install dependencies using npm

    npm install
  3. Copy the .env.example to .env and update the variables.

    cp .env.example .env
  4. 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=
  5. Generate prisma client

    npx prisma generate
  6. Push the database schema

    npx prisma db push
  7. Seeding the categories data

    npx prisma db seed
  8. Start the development server

    npm run dev

Where do I deploy this?

  • For the Nextjs application, I deploy it on Vercel
  • And for the MySQL database I deploy it on Aiven

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.

Credits

Taxonomy, Skateshop, shadcn/ui