https://github.com/parassolanki/astro-master
Next master clone built with Astro
https://github.com/parassolanki/astro-master
Last synced: 3 months ago
JSON representation
Next master clone built with Astro
- Host: GitHub
- URL: https://github.com/parassolanki/astro-master
- Owner: ParasSolanki
- Created: 2024-10-27T16:14:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-25T17:38:57.000Z (over 1 year ago)
- Last Synced: 2025-10-19T20:30:19.760Z (9 months ago)
- Language: TypeScript
- Homepage: https://astro-master.vercel.app
- Size: 695 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# astro-master
[Next master](https://github.com/ethanniser/NextFaster) clone built with [Astro](https://astro.build).
Origin [twitter thread] (https://x.com/ethanniser/status/1848442738204643330)
Project uses same Next master [data](https://github.com/ethanniser/NextFaster/tree/main/data) provided in their repo including all the images.
## Installation
Install Dependencies.
```bash
pnpm install
```
## Run Locally
Start the dev server.
```bash
pnpm dev
```
## Build
```bash
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.
```bash
pnpm db:migrate
```
To generate sql from drizzle schema you can run below command.
```bash
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.
```bash
pnpm studio
```