I find myself often recreating simple landing pages, login, logout, signup flows and I got really tired of it. Especially when its for small projects.
I decided to make a nice easy to use boilerplate accessible for all.
This project is open to Hacktoberfest contributions as long as the
CONTRIBUTING.md is respected.
git clone https://github.com/crimson-med/react-prisma2-graphql-boilerplate.git
Then follow the following instructions.
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!
In this frontend we leverage React for all the rendering. We also user OvermindJS for state management and ApolloClient for GraphQL interactions.
An implementation of a GraphQL server with an email-password-based authentication workflow and authentication rules, based on Prisma, graphql-yoga, graphql-shield & Nexus Schema. It is based on a SQLite database.
Since we are using prisma the database can easily be switched to anything (postgre, mysql, etc.)