Giter Club home page Giter Club logo

prisma's Introduction

prisma-app

This is a sidebase merino app created by running npm create sidebase@latest. This project uses the following technologies for a great developer- and user-experience:

  • TypeScript
  • Nuxt 3
  • Prisma ORM
  • nuxt-auth
  • tRPC 10
  • Tailwind CSS
  • Naive UI
  • GitHub Actions based CI

How to get going?

This is a straight-forward setup with minimal templating and scaffolding. The options you selected during the sidebase CLI setup are all here though. Good places to continue reading are:

Some tasks you should probably do in the beginning are:

  • replace this generic README with a more specific one
  • install the Vue Volar extension
  • enable Volar takeover mode to ensure a smooth editor setup
  • Prisma: Edit your prisma/prisma.schema to your liking
  • Prisma: Run npx prisma db push to sync the schema to your database after changing the schema
  • Prisma: Run npx prisma generate to re-generate the client after changing the schema
  • Auth: Configure your auth providers to the NuxtAuthHandler
  • Auth, optional: Enable global protection by setting enableGlobalAppMiddleware: true in your nuxt.config.ts. Delete the logal middleware in the protected.vue page if you do

Setup

Make sure to install the dependencies:

npm install

Development Server

Start the development server on http://localhost:3000

npm run dev

Production

Build the application for production:

npm run build

Locally preview production build:

npm run preview

AWS Lambda deployment example

Deployment Guide

Download manually

curl https://codeload.github.com/prisma/prisma-examples/tar.gz/latest | tar -xz --strip=2 prisma-examples-latest/deployment-platforms/aws-lambda
cd aws-lambda

The Serverless configuration file includes a package pattern that excludes all Prisma Engine binaries but the one relevant for the Lambda runtime. You can read more in our documentation.

prisma's People

Contributors

razbakov avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.