linkr Tailwind Templates

Linkr

🌱 A URL shortener built with Create JD App: Solid Start + Tailwind CSS + Typescript + tRPC + Authjs & Prisma.

šŸ¤” What is Create JD App?

Create JD App is the quickest and most efficient way to start a new fullstack Solid web app, inspired by the T3 Stack, which 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
  |- routes
  |- schema
  |- server
  |- styles
  |- 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:

# Auth.js config:
AUTH_SECRET
AUTH_URL
AUTH_TRUST_HOST=true

šŸ”‘ 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:

  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

Top categories

Loading Svelte Themes