Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rubriclab/stereo
https://github.com/rubriclab/stereo
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rubriclab/stereo
- Owner: RubricLab
- Created: 2024-03-28T19:06:30.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-03-29T22:16:47.000Z (9 months ago)
- Last Synced: 2024-04-13T20:42:57.879Z (9 months ago)
- Language: TypeScript
- Size: 1.41 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Create Rubric App
This project is bootstrapped with [`create-rubric-app`](https://github.com/RubricLab/create-rubric-app).
## Getting Started
### 1. Install dependencies
```sh
npm i
``````sh
bun i
```### 2. Set up the DB
```sh
npm run db:push
``````sh
bun db:push
```### 3. Run the development server
```sh
npm run dev
``````sh
bun dev
```Open [localhost:3000](http://localhost:3000) in your browser to see the result.
You can start modifying the UI by editing [src/app/page.tsx](./src/app/page.tsx). The page auto-updates as you edit the file.
### Deployment
To serve your app to users, simply deploy the Next.js app eg. on [Railway](https://railway.app/new) or [Vercel](https://deploy.new/).
To persist data, you'll need a database. Both [Railway](https://docs.railway.app/databases/postgresql) and [Vercel](https://vercel.com/docs/storage/vercel-postgres) provide Postgres DBs. You'll simply need to change the [Prisma provider](./prisma/schema.prisma) to `"postgresql"` (and add an extra URL for Vercel: [example](https://github.com/vercel/examples/blob/main/storage/postgres-prisma/prisma/schema.prisma#L9C1-L11C74)).
## Learn More
To learn more about this project, take a look at this [blog post](https://rubriclabs.com/blog/cra).