Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/metruzanca/surreal-solid-template
surreal-solid
https://github.com/metruzanca/surreal-solid-template
Last synced: about 2 months ago
JSON representation
surreal-solid
- Host: GitHub
- URL: https://github.com/metruzanca/surreal-solid-template
- Owner: metruzanca
- License: mit
- Created: 2023-10-06T15:57:22.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-24T12:35:45.000Z (12 months ago)
- Last Synced: 2024-08-01T22:43:15.002Z (5 months ago)
- Language: TypeScript
- Size: 244 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-surreal - SurrealDB + SolidStart Starter - Sam "metru" Zanca. (Starter Kits)
README
# [Surreal Solid Template](https://github.com/metruzanca/surreal-solid-template)
> Bootstrapped from [Surreal-Solid-Template](https://github.com/metruzanca/surreal-solid-template). More docs included in the repo. This readme is just the TLDR.## Getting Started
Get the frontend up and running:
```
pnpm install
pnpm dev
```Get surreal running locally by either:
- [installing it](https://surrealdb.com/install)
- Using the docker compose file included via `docker compose up -d`## Deploying
- [Frontend via Vercel](https://github.com/metruzanca/surreal-solid-template/blob/main/.github/vercel.md)
- [Surreal via Railway](https://github.com/metruzanca/surreal-solid-template/blob/main/.github/railway.md)## Common Tasks
- Access the surrealdb shell: `docker compose exec db /surreal sql --db dev --ns dev`
- Seed the database with a surql file: `surreal import --conn http://localhost:8000 --ns dev --db dev db/seed.surql`
- Stop DB without clearing data: `docker compose stop`
- Tear down container, wiping data: `docker compose down`