All Projects → alan345 → Naperg

alan345 / Naperg

Licence: mit
Fullstack Boilerplate GraphQL. Made with React & Prisma + authentication & roles

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Naperg

Pizzaql
🍕 Modern OSS Order Management System for Pizza Restaurants
Stars: ✭ 631 (-4.54%)
Mutual labels:  apollo, prisma, authentication
Nextjs Headless Wordpress
🔥 Nextjs Headless WordPress
Stars: ✭ 110 (-83.36%)
Mutual labels:  apollo-client, authentication, jwt
Cognito Express
Authenticates API requests on a Node application by verifying the JWT signature of AccessToken or IDToken generated by Amazon Cognito.
Stars: ✭ 165 (-75.04%)
Mutual labels:  expressjs, authentication, jwt
Express Jwt
An example API for creating/verifying json web tokens
Stars: ✭ 105 (-84.11%)
Mutual labels:  expressjs, authentication, jwt
react-full-stack-starter
🎈Full-stack React boilerplate using `create-react-app`, Babel, Node.js, and express
Stars: ✭ 22 (-96.67%)
Mutual labels:  expressjs, full-stack, fullstack
Mern Skeleton
A MERN stack skeleton web application [Full-Stack React Projects]
Stars: ✭ 114 (-82.75%)
Mutual labels:  expressjs, full-stack, jwt
Fullstack Apollo Express Postgresql Boilerplate
💥 A sophisticated GraphQL with Apollo, Express and PostgreSQL boilerplate project.
Stars: ✭ 1,079 (+63.24%)
Mutual labels:  apollo-client, fullstack, authentication
Express Mongodb Rest Api Boilerplate
A boilerplate for Node.js apps / Rest API / Authentication from scratch - express, mongodb (mongoose).
Stars: ✭ 153 (-76.85%)
Mutual labels:  authentication, jwt, jwt-authentication
boilerplate
Boilerplate for @prisma-cms
Stars: ✭ 22 (-96.67%)
Mutual labels:  apollo, apollo-client, prisma
Next Apollo Auth
Authentication Boilerplate with Next.js and Apollo GraphQL
Stars: ✭ 159 (-75.95%)
Mutual labels:  apollo, expressjs, authentication
Angular Full Stack
Angular Full Stack project built using Angular, Express, Mongoose and Node. Whole stack in TypeScript.
Stars: ✭ 1,261 (+90.77%)
Mutual labels:  expressjs, full-stack, jwt
Mevn Boilerplate
A fullstack boilerplate with Mongo, ExpressJS, VueJS and NodeJS.
Stars: ✭ 277 (-58.09%)
Mutual labels:  expressjs, full-stack, fullstack
Mern Boilerplate
Fullstack boilerplate with React, Redux, Express, Mongoose, Passport Local, JWT, Facebook and Google OAuth out of the box.
Stars: ✭ 112 (-83.06%)
Mutual labels:  fullstack, authentication, jwt
Node Express Mongoose Passport Jwt Rest Api Auth
Node, express, mongoose, passport and JWT REST API authentication example
Stars: ✭ 146 (-77.91%)
Mutual labels:  expressjs, jwt, jwt-authentication
Sanic Jwt
Authentication, JWT, and permission scoping for Sanic
Stars: ✭ 189 (-71.41%)
Mutual labels:  authentication, jwt, permissions
Mern
🌐 MERN stack 2.0 - MongoDB, Express, React/Redux, Node
Stars: ✭ 175 (-73.52%)
Mutual labels:  expressjs, fullstack, jwt
Authentication Server
A simple authentication service to deliver JWT with Hasura claims, based on users with multiples roles stored in a Postgres database.
Stars: ✭ 48 (-92.74%)
Mutual labels:  authentication, jwt, jwt-authentication
Barong
Barong auth server
Stars: ✭ 100 (-84.87%)
Mutual labels:  authentication, jwt, jwt-authentication
Fullstack Apollo React Boilerplate
💥A sophisticated Apollo in React boilerplate project.
Stars: ✭ 136 (-79.43%)
Mutual labels:  apollo-client, fullstack, authentication
Jwt Spring Security Demo
This is a demo for using JWT (JSON Web Token) with Spring Security and Spring Boot. I completely rewrote my first version. Now this solution is based on the code base from the JHipster Project. I tried to extract the minimal configuration and classes that are needed for JWT-Authentication and did some changes.
Stars: ✭ 2,843 (+330.11%)
Mutual labels:  authentication, jwt, jwt-authentication
Node Apollo Prisma Express React GraphQL
 

Boilerplate for a Fullstack GraphQL App with React & Prisma


naperg

🚀 Bootstrap your fullstack GraphQL app within seconds
Basic starter kit for a fullstack GraphQL app with React and Node.js - based on best practices from the GraphQL community.

Project

GitHub issues GitHub forks GitHub stars GitHub license price paypal

Twitter

Screenshots

Login Signup
image image
image image
image image

Getting started

1. Clone the repo to your computer

git clone https://github.com/alan345/naperg/

2. Go the the repo

cd naperg

Server

1. Install the server - # Prisma & Graphql (port 4000)

cd server
yarn

2. migrate the database with Prisma migrate run:

npx prisma migrate dev --preview-feature

Pick a name for your first migration. Example "init"

> npx prisma migrate dev --preview-feature
Prisma schema loaded from prisma/schema.prisma
Datasource "db": SQLite database "dev.db" at "file:./dev.db"

SQLite database dev.db created at file:./dev.db

✔ Name of migration … init
The following migration(s) have been created and applied from new schema changes:

migrations/
  └─ 20210227221806_init/
    └─ migration.sql

✔ Generated Prisma Client (2.17.0) to ./node_modules/@prisma/client in 71ms

Everything is now in sync.

to reset your database if needed, use:

npx prisma migrate reset --preview-feature 

3. Seed your Database

npx prisma db seed --preview-feature

A new user will be created from seed.ts file.

4. Check you databse with Prisma Studio

$ npx prisma studio

image

5. Generate the prisma client

Prisma Client is an auto-generated database client that's tailored to your database schema.

npx prisma generate

6. Start the server (http://localhost:4000)

yarn start

Frontend

1. Install the frontEnd - ReactJs (port 3000). In a new terminal run:

cd react
yarn

2. Start the frontend.

yarn start

3. Go to url: http://localhost:3000

4. Log in to the app with whis Admin User:

Tutorial

Tutorial Naperg

Features

  • Scalable GraphQL server: The server uses apollo-server
  • Pre-configured Apollo Client: The project comes with a preconfigured setup for Apollo Client
  • Tooling: Out-of-the-box support for GraphQL Playground
  • Extensible: Simple and flexible data model – easy to adjust and extend
  • Search with GraphQL: Example to search in 2 fields for the users: Email and name
  • Signup management:
    • Check password strength

For a fully-fledged React & Apollo tutorial, visit How to GraphQL.

Made with..

Typescript (https://www.typescriptlang.org/) for the Frontend and the Backend

Frontend:

Backend:

Contributing

  • Your feedback is very helpful, please share your opinion and thoughts! If you have any questions or want to contribute yourself, don't hesitate!

  • Tests must be implemented. Feel free to create a PR :)

  • Add a star to this Repo! It helps a lot!

Who is using Naperg

Create a PR if you are using Naperg and want to add your link here

Buy me a drink!

If this project help you reduce time to develop, you can give me a cup of coffee :)

paypal

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].