https://github.com/superoo7/prisma2-chat-app
Simple chat app implemented with Prisma2 using Typescirpt, Graphql
https://github.com/superoo7/prisma2-chat-app
graphql prisma prisma2 typescript websocket
Last synced: about 1 month ago
JSON representation
Simple chat app implemented with Prisma2 using Typescirpt, Graphql
- Host: GitHub
- URL: https://github.com/superoo7/prisma2-chat-app
- Owner: superoo7
- Created: 2020-07-10T10:07:20.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T11:13:36.000Z (over 3 years ago)
- Last Synced: 2025-01-23T10:45:00.254Z (over 1 year ago)
- Topics: graphql, prisma, prisma2, typescript, websocket
- Language: TypeScript
- Homepage:
- Size: 5.15 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Chat App with Prisma

## Tech Stack
### Backend (/prisma /src)
- PostgresSQL
- Node.js
- Prisma V2
- GraphQLServer from graph-yoga
- Typescript
- GraphQL
### Frontend (/cra)
- Create-React-App
- Styled-Component
- Apollo / Graphql
- Typescript
- React
## How to run
```sh
# Install Prisma
npm i -g @prisma/cli
# Install backend
yarn
# Install frontend
(cd cra && yarn)
# Setup env
mv prisma/.env.copy prisma/.env
# Setup PostgresDB
psql
# Create table
> CREATE DATABASE prismagql;
> \q
# Prisma DB Migrate
npx prisma migrate up --experimental
# Run backend
npm run dev
# Run frontend
(cd cra && npm start)
```