https://github.com/noxify/prisma-queue-example
https://github.com/noxify/prisma-queue-example
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/noxify/prisma-queue-example
- Owner: noxify
- License: mit
- Created: 2025-04-02T09:01:09.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-02T09:10:29.000Z (about 1 year ago)
- Last Synced: 2025-04-02T10:24:50.921Z (about 1 year ago)
- Language: TypeScript
- Size: 72.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Prisma Queue Example
> The stack originates from [turbo-lucia-starter](https://github.com/noxify/turbo-lucia-starter).
## Quickstart
> The `db` package is configured for `postgres`. If you want to use a different engine, you have to update the configuration and re-generating the migration files.
>
> This repository uses `pnpm` as package manager!
To get it running, follow the steps below:
### 1. Clone the repository
```
git clone git@github.com:noxify/prisma-queue-example.git
```
### 2. Setup dependencies
```
# Install dependencies
pnpm i
# Configure environment variables
# There is an `.env.example` in the root directory you can use for reference
cp .env.example .env
# Generate types
# This generates all needed types based on our prisma schema
pnpm db:generate
# Push the schema to the database
pnpm db:push
# or
# pnpm db:migrate:dev
```
### Start the dev server
You can use the following commands to start the dev mode:
- `pnpm run dev` - Starts the job manager in dev mode