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:

bun install

Development Server

Start postgres:

docker-compose up -d

Run PgAdmin4 and execute query:

PGPASSWORD=password  psql -U user -d db -h 127.0.0.1 -c "CREATE EXTENSION cube;"
PGPASSWORD=password  psql -U user -d db -h 127.0.0.1 -c "CREATE EXTENSION earthdistance;"

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

bun dev

Production

Build the application for production:

bun run build

Locally preview production build:

bun run preview

prisma's People

Contributors

razbakov avatar iiio2 avatar

Watchers

 avatar  avatar

Forkers

iiio2

prisma's Issues

Add Event Form

As a User I want to be able to add event so that it's shown in calendar

Acceptance Criteria:

  • fields (name, description, start date, end date) are present
  • name is validated to have minimum 5 characters
  • start date and end date are validated to be set
  • FormKit is used

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.