Skip to content

manweCZ/nette-react-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a basic project that includes PHP Nette + Nextras ORM as backend and using React + UrQL for GraphQL api.

  1. run composer install
  2. create config.local.neon in config folder
  3. enter www/app folder
  4. run yarn install or npm install
  5. go into www/app/graphql folder and run shema generation from schema.graphql file
  6. run yarn schema to generate GraphQL schema for React
  7. run your PHP server in the www folder (ie php -S localhost:8000)
  8. run the React app (by running yarn start in the www/app folder)
  9. your React App should start and you should see Hello World in the console - that means the test GraphQL query ran successfuly.

About

BaseProjectFor nm?l.;/'|

Resources

Stars

Watchers

Forks

Packages

No packages published