This is a simple graphql application for react training.
This application requires node to be installed on your system. Please check upstream documentation for how to install node on your system.
In application root path run following commands
cd app
npm install
npm run dev
Run following commands
cd app
npm install --only=production && npm run build
npm start
This application required following connections to run.
- MYSQL
Environment variables is the main mechanism of manipulating application settings. Currently application recognizes following environment variables:
MYSQL_HOST = host
MYSQL_PORT = mysql port
MYSQL_USER = mysql user name
MYSQL_PASSWORD = mysql password
MYSQL_DATABASE = mysql database