Coder Social home page Coder Social logo

gatsby-apollo-chatkiller's Introduction

Boilerplate for a Fullstack Gatsby-apollo-chatkiller

This repo is a fork from https://github.com/alan345/naperg

Just with other feature:

  • Gastby to turn your app to an universal application http://gatsbyjs.org
  • better scalable server with Typescript

server written fully in typescript - power of type with prisma.ts

## Authentication with roles & permissions. Backend & Frontend
## Chat with GraphQL Subscriptions

UI https://materializecss.com (material-ui will be replaced fully soon)

Using last version Apollo v2 and [email protected]

>>> No need anymore graphql-yoga with apollo-server2 <<<

image

🚀 Bootstrap your fullstack GraphQL app within seconds
Basic starter kit for a fullstack GraphQL app with React and Node.js

Project

GitHub issues GitHub forks GitHub stars GitHub license price Twitter

Screenshots

Signup with key 'Enter' to change field Chat
Signup Chat
Order by / pagination Email Validation
Mobile friendly image
Forget Password
image image
Users List User profile
connected object User profile
Login Resend Link to validate email
Login Link to validate email
Create Draft with connected object (car & user) Update Password in app
connected object connected object
Mobile Friendly Login with Avatar Profile
Mobile friendly avatar profile
REST API without graphql-yoga (with apollo-server2)
REST API without graphql-yoga

Getting started

1/ install global

yarn update npm install -g prisma npm install -g prisma-cli npm install -g graphql

//current version [email protected] //current version [email protected] //current version [email protected]

2/ This project use a free Cloud Prisma no need Docker

3/ In folder /server, run:

 
#Deploy app
prisma deploy

4/ In 2 different terminals:

# Prisma: Graphql and mySql (port 4000)
cd server
yarn install
yarn start
# Frontend: ReactJs (port 8000 in dev)
cd react
yarn install
npm run develop

Go to url: http://localhost:3000

Features

  • apollo server v2: The server use Apollo Server 2 who is now run standalon without graphql-yoga
  • Pre-configured Apollo Client: The project comes with a preconfigured setup for Apollo Client
  • GraphQL database: Includes GraphQL database binding to Prisma (running on MySQL)
  • Tooling: Out-of-the-box support for GraphQL Playground & query performance tracing
  • Extensible: Simple and flexible data model – easy to adjust and extend
  • Chat: Made with Prisma & apollo subscription. (WebSocket)
  • Email management:
    • Welcome email + link to validate the email
    • Forget password email
  • Signup management:
    • Check password strength
    • Send welcome email + link to validate the email
    • App knows if email has been approved by the link

For a fully-fledged React & Apollo tutorial, visit How to GraphQL. You can more learn about the idea behind GraphQL boilerplates here.

Documentation

useful Commands

  • prisma reset

  • prisma deploy Deploy app

  • eslint . Check JS/react syntax with eslint-plugin-react

  • yarn start starts GraphQL server on http://localhost:4000

  • yarn dev starts GraphQL server on http://localhost:4000 and opens GraphQL Playground

  • yarn playground opens the GraphQL Playground for the projects from .graphqlconfig.yml

  • yarn prisma <subcommand> gives access to local version of Prisma CLI (e.g. yarn prisma deploy)

Note: We recommend that you're using yarn dev during development as it will give you access to the GraphQL API or your server (defined by the application schema as well as to the Prisma API directly (defined by the Prisma database schema. If you're starting the server with yarn start, you'll only be able to access the API of the application schema.

Made with..

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!

Hire us!

If this project help you reduce time to develop, we can help you in other task

Email:[email protected]

gatsby-apollo-chatkiller's People

Contributors

chuloo avatar

Stargazers

veer jain avatar

Watchers

simz avatar James Cloos avatar

Forkers

cedricmc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.