All Projects → gothinkster → node-express-prisma-v1-official-app

gothinkster / node-express-prisma-v1-official-app

Licence: MIT License
Official real world application built with Node + Express + Typescript + Prisma

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to node-express-prisma-v1-official-app

rust-realworld-example-app
Example Rust codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld API spec.
Stars: ✭ 19 (-20.83%)
Mutual labels:  realworld
fastify-prisma
Basic Fastify app using Prisma as an ORM
Stars: ✭ 26 (+8.33%)
Mutual labels:  prisma
nestjs-prisma-docker
Dockerizing a NestJS app with Prisma and PostgreSQL
Stars: ✭ 42 (+75%)
Mutual labels:  prisma
laravel-realworld-example-app
Exemplary RealWorld backend API built with Laravel PHP framework.
Stars: ✭ 34 (+41.67%)
Mutual labels:  realworld
hotwire-django-realworld
RealWorld Django app built with Turbo!
Stars: ✭ 29 (+20.83%)
Mutual labels:  realworld
bot
🎲 A general purpose utility bot, with an economy, games, and lots of other features.
Stars: ✭ 95 (+295.83%)
Mutual labels:  prisma
nuxt-realworld
🛠 Built a Example App of RealWorld with Nuxt & Composition API ⚗️
Stars: ✭ 127 (+429.17%)
Mutual labels:  realworld
stencil-realworld-app
An example SPA written with Stencil
Stars: ✭ 56 (+133.33%)
Mutual labels:  realworld
nextjs-graphql-adminpanel
Admin panel built with NextJS(Typescript), Material UI, Apollo Client & GraphQL. In the backend, Prisma 2 with Nexus and Mysql is used.
Stars: ✭ 119 (+395.83%)
Mutual labels:  prisma
praxis
Social networking platform built with Next.js, Apollo GraphQL, and Prisma
Stars: ✭ 37 (+54.17%)
Mutual labels:  prisma
peppermint
An open source ticket management & help desk solution. A freshdesk alternative
Stars: ✭ 367 (+1429.17%)
Mutual labels:  prisma
throw-me
A url shortener made with nextjs and postgresql database operated with Prisma
Stars: ✭ 34 (+41.67%)
Mutual labels:  prisma
realworld-hasura
Realworld inspired blogging platform (Remake of Conduit) using Hasura + Purescript + Elm
Stars: ✭ 46 (+91.67%)
Mutual labels:  realworld
cannercms
⚡️[NOT MAINTAINED] Content Management Framework creates custom CMS fast and easy. Support data sources such as Firebase/Firestore, GraphQL and Restful APIs.
Stars: ✭ 2,452 (+10116.67%)
Mutual labels:  prisma
riot realworld example app
Exemplary real world application built with Riot.js v6 🖐👍
Stars: ✭ 16 (-33.33%)
Mutual labels:  realworld
prismaliser
Visualise your Prisma schema!
Stars: ✭ 230 (+858.33%)
Mutual labels:  prisma
cljs-rum-realworld-example-app
ClojureScript + Rum codebase containing real world examples
Stars: ✭ 52 (+116.67%)
Mutual labels:  realworld
graphql-middleware-forward-binding
GraphQL Binding forwardTo plugin for GraphQL Middleware
Stars: ✭ 24 (+0%)
Mutual labels:  prisma
next-prisma
🚀 Static site with Next.js 9.4 and Prisma.
Stars: ✭ 116 (+383.33%)
Mutual labels:  prisma
cadhub
We're out to raise awareness and put CodeCAD on the map. The success of CadHub can be measured by the amount it promotes the use of CodeCAD within the mechanical/manufacturing industry and the strength the CadHub community.
Stars: ✭ 204 (+750%)
Mutual labels:  prisma

Rails Example App

Official NodeJS codebase that adheres to the RealWorld API spec.

This repo is functionality complete.

Deploy to Heroku

Deploy

Getting started

Clone the repository

run git clone https://github.com/gothinkster/node-express-prisma-v1-official-app.git

Install the dependancies

NodeJS is required

cd node-express-prisma-v1-official-app
npm install

Download pgAdmin for PostgreSQL

PostgreSQL downloads page

Create a server

run pgAdmin
create a server (Object/Create/Server)
required fields:

  • name
  • HOST name/address

Connect the created server

create a .env file at the root of the project
populate it with the url of your database

DATABASE_URL="postgresql://<username>:<password>@<host_name>:<port>/<database_name>?schema=public"

Run the project locally

run npm run dev

Advanced usage

Prisma

Format the Prisma schema

npm run prisma:format

Migrate the SQL schema

prisma migrate dev --name added_job_title

Update the Prisma Client

npm run prisma:generate

with watch option

npm run prisma:generate:watch

Seed the database

npm run prisma:seed

Launch Prisma Studio

npm run prisma:studio

Reset the database

  • Drop the database
  • Create a new database
  • Apply migrations
  • Seed the database with data
npm run prisma:reset
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].