kbakeradi / sst-prisma

Serverless Stack + Prisma ORM Template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Serverless Stack + Prisma - Starter Kit

What is this?

If you want to build a serverless app with AWS CDK, Lambda, and Postgres, this is the template for you.

Quickstart

Prerequisites

Assumes you have Node 16 installed and AWS credentials configured.

Setup

npm i -g pnpm  # install pnpm globally
pnpm i  # install dependencies + generate types from DB and GQL schemas

Features

All features are optional, delete what you don't need.

Click links to learn more and view documentation.

Package scripts

Please see package.json scripts for more.

Start live backend dev server with AWS

pnpm start

Start frontend + backend dev server

pnpm fullstack

Run/generate DB migrations locally

pnpm db:migrate

Just watch and perform type-checking

pnpm watch

Deploy to your AWS environment

pnpm deploy

About

Serverless Stack + Prisma ORM Template

License:MIT License


Languages

Language:TypeScript 90.0%Language:SCSS 5.3%Language:JavaScript 3.5%Language:CSS 0.8%Language:Shell 0.3%