Skip to content

ParasSolanki/astro-master

Repository files navigation

astro-master

Next master clone built with Astro.

Origin [twitter thread] (https://x.com/ethanniser/status/1848442738204643330)

Project uses same Next master data provided in their repo including all the images.

Installation

Install Dependencies.

  pnpm install

Run Locally

Start the dev server.

  pnpm dev

Build

  pnpm build

Environment Variables

To run this project, you will need to add the following environment variables to your .env file Since this project uses Turso Sqlite you will need TURSO_DATABASE_URL and TURSO_AUTH_TOKEN.

Name Description
TURSO_DATABASE_URL The database URL.
TURSO_AUTH_TOKEN The database Auth token.

Setup Database

To Setup the database first you have to run all the migrations.

  pnpm db:migrate

To generate sql from drizzle schema you can run below command.

  pnpm db:generate

Drizzle Studio

To see all of your database data locally, you can run the drizzle studio command, which will show you all of your data.

pnpm studio

About

Next master clone built with Astro

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published