Scaffold web app
This commit was merged in pull request #1.
This commit is contained in:
50
README.md
50
README.md
@@ -1 +1,49 @@
|
||||
hello world
|
||||
# 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/(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.
|
||||
|
||||
## Learn More
|
||||
|
||||
To learn more about this project, take a look at this [blog post](https://rubriclabs.com/blog/create-rubric-app).
|
||||
|
||||
Reference in New Issue
Block a user