Skip to content

๐Ÿš€ A Starter App For React, Semantic UI, Apollo Client and Server, and GraphQL

Notifications You must be signed in to change notification settings

scottmcpherson/react-graphql-apollo-semanticui-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

53 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

React, SemanticUI, Apollo Client, and GraphQL Starter With Authentication

Getting started

  1. Create a mysql database called starter_development or use a dirrerent name and update development.database in server/config/config.json to reflect the new name
  2. Run yarn or npm i inside the server and client folders
  3. In the server folder, create a file called .env and copy/paster the contents from .env.example to .env
  4. Run yarn start or npm start from the client and server folders

Notes

This project aims to provide a quick way to test out ideas and prototypes. Additional work should be done on authentication and security. Ideally, the jwt should expire quickly, and optionally a refresh token pattern should be implemented.

TODO

  • Need to refactor client to use the latest apollo client API with <Mutation></Mutation> and <Query></Query>
  • Handle component errors on the client
  • Use optimistic creates to improve the responsiveness of the UI when creating a public task
  • Integrate Travis CI for automated tests
  • Setup reset password and forgot password (with the exception of emails)
  • Add more test coverage

About

๐Ÿš€ A Starter App For React, Semantic UI, Apollo Client and Server, and GraphQL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published