sagarmusabbir / nomad-ecommerce

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

    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

    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

About

License:MIT License


Languages

Language:TypeScript 99.5%Language:CSS 0.4%Language:JavaScript 0.1%