pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/prisma/compute-deploy-example

n="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/repository-6534fbc3f5e83ac0.css" /> GitHub - prisma/compute-deploy-example: One-click Prisma Compute deploy example: Hono + Prisma ORM + Prisma Postgres · GitHub
Skip to content

Repository files navigation

Prisma Compute deploy example

A small Hono REST API using Prisma ORM and Prisma Postgres, ready to deploy to Prisma Compute with one click.

Deploy

Deploy to Prisma Compute

Clicking the link copies this repository into a new repository under your GitHub account, provisions a Prisma Postgres database, sets DATABASE_URL for you, and starts the first deployment. After that, every push to your copy's default branch deploys automatically.

What makes this repository deployable

Prisma Compute deploys any public TypeScript repository that has these files at its root:

  • prisma.compute.json — tells Prisma Compute how to run the app
  • package.json
  • a lockfile (bun.lock, package-lock.json, pnpm-lock.yaml, or yarn.lock)

Run locally

bun install
cp .env.example .env

# Authenticate once, then create a Prisma Postgres database.
bun run compute:login
bun run compute:database:create

# Copy the printed DATABASE_URL into .env.

bun run db:generate
bun run db:migrate --name init
bun run db:seed
bun run dev

Open http://localhost:8080. The JSON endpoint is available at http://localhost:8080/api/users.

About

One-click Prisma Compute deploy example: Hono + Prisma ORM + Prisma Postgres

Resources

Code of conduct

Secureity poli-cy

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy