https://github.com/treetips/remix-joke-app
Joke application of the remix framework
https://github.com/treetips/remix-joke-app
prisma react remix typescript
Last synced: 3 months ago
JSON representation
Joke application of the remix framework
- Host: GitHub
- URL: https://github.com/treetips/remix-joke-app
- Owner: treetips
- Created: 2022-08-29T18:13:31.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-29T18:15:43.000Z (almost 4 years ago)
- Last Synced: 2024-12-31T06:40:37.918Z (over 1 year ago)
- Topics: prisma, react, remix, typescript
- Language: TypeScript
- Homepage:
- Size: 1.57 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Remix Joke App
- [Jokes App Tutorial](https://remix.run/docs/en/v1/tutorials/jokes#jokes-app-tutorial)
## Features
- VSCode
- Node.js
- Remix
- Prisma
## setup
```sh
# create tables
$ npx prisma db push
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": SQLite database "dev.db" at "file:./dev.db"
🚀 Your database is now in sync with your Prisma schema. Done in 15ms
✔ Generated Prisma Client (4.2.1 | library) to ./node_modules/@prisma/client in 31ms
```
```sh
# insert data
$ npx prisma db seed
Environment variables loaded from .env
Running seed command `node --require esbuild-register prisma/seed.ts` ...
🌱 The seed command has been executed.
```
## Development
From your terminal:
```sh
npm run dev
```
This starts your app in development mode, rebuilding assets on file changes.