Skip to content

codegeek835/graphql-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL Backend Application

Introduction

This is a simple graphql application for react training.

How to run

This application requires node to be installed on your system. Please check upstream documentation for how to install node on your system.

Development build

In application root path run following commands

cd app
npm install
npm run dev

Production build

Run following commands

cd app
npm install --only=production && npm run build
npm start

Dependencies

This application required following connections to run.

  • MYSQL

Environment variables

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 

Releases

No releases published

Packages

No packages published