Giter Club home page Giter Club logo

myshop's Introduction

๐Ÿš€ Short link ย ย โ€ขย ย  ๐Ÿค Contribute ย ย โ€ขย ย  ๐Ÿฆ Twitter

GitHub stars GitHub issues GitHub license Required Node.JS >=16.0.0

๐Ÿค” What is T3 Stack?

The T3 Stack is a web development stack made by Theo focused on simplicity, modularity, and full-stack typesafety. This project is using:

๐Ÿ“ฆ Project structure

- prisma
- public
- src
  |- components
  |- env
  |- layout
  |- motions
  |- pages
  |- schema
  |- server
  |- styles
  |- types
  |- ui
  |- utils

๐Ÿ‘จโ€๐Ÿš€ Getting Started

๐Ÿšง You will need Nodejs +16 (LTS recommended) installed.

  1. Fork this project:
  1. Clone the repository:
git clone [email protected]:YOU_USER/slug.git
  1. Install dependencies:
npm install
# or
pnpm install
# or
yarn install
# or
ultra install
  1. Create a .env file with the following content:

๐Ÿšง The environment variables must match the following schema.

# Planetscale DB URL:
DATABASE_URL:

# Github OAuth secrets:
GITHUB_ID:
GITHUB_CLIENT_SECRET:

# Next Auth config:
NEXTAUTH_SECRET:
NEXTAUTH_URL:

๐Ÿ”‘ How to get environment variables:

Planetscale database:

๐Ÿšง The environment variable in the dev branch is not the same as main. When you deploy your app to production, in the environment variables change DATABASE_URL to the main variable.

Github OAuth:

Next Auth:

  • NEXTAUTH_SECRET: mykey123 for example.
  • NEXTAUTH_URL: http://localhost:3000/.
  1. Ready ๐Ÿฅณ, now run:
# Push your DB to Planetscale:
npx prisma db push

# Run the project:
npm run dev

# (Optional) Run Prisma Studio to see your DB data:
npx prisma studio

๐Ÿ˜Š Contributing:

๐ŸŽ‰ Deploy on Vercel

๐Ÿ”‘ License

myshop's People

Contributors

shwetabhat-09 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.