DEV Community

Discussion on: What was your win this week?

Collapse
 
crimsonmed profile image
Médéric Burlet

Reached more than 5 stars on my boilerplate

GitHub logo crimson-med / react-prisma2-graphql-boilerplate

Simple React, Prisma2, GraphQL, Boilerplate

React Prisma2 GraphQL Boilerplate

Quick start boilerplate leveraging various recent technologies.

Quickstart

Open two terminals and follow the following commands:


Terminal 1 Terminal 2
cd backend cd frontend
yarn install yarn install
yarn dev yarn start

That's it you are up and running!

For more detailed documentation check the other readme:

Wanna help?

Check out CONTRIBUTING.md as well as the project board on GitHub.

Accessing Datatabase

For this boilerplate Prisma2 is connecting to a SQLite file in the following folder backend/prisma.

To access and explore this file you can use a Database Manager like TablePlus which supports SQLite.

You then just need to point to the file:

table plus connection

If you want to change the database to use you can simply update the datasource in backend/prisma/schema.prisma.

Screenshot

Home:

home

Login:

login

Signup:

home

Dashboard:

home