Create-Read-Update-Delete Demo w/ React-Starter-Kit
A simple demo of how to use the two primary kriasoft packages together to make a single App.
File Structure
/counterApi/ - REST API for database using kriasoft/nodejs-api-starter
/counterApp/ - Simple Counter App that uses the counterApi rest API and GraphQL
README.md - This
Development Tips
If you open atom in this primary directory rather than with one of the apps as root you'll probably get ESLint errors clogging your IDE.
$ atom counterApi/ & atom counterApp/
Running the Demo
Make sure you have upgraded Docker and installed Yarn.
-
start counter api:
cd counterApi/ && docker-compose up
-
install counter app:
cd ../counterApp && yarn
-
start counter app:
yarn start
-
goto counter app
localhost:4000