Skip to content
This repository has been archived by the owner on Oct 27, 2020. It is now read-only.

commitklaipeda/01-graphql-intro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL intro demo app

Presented @ Commit Klaipėda (2019-03-07)

prerequisites

  • git
  • node.js
  • SQL DB (MySQL, SQLite3, PostgreSQL, MSSQL)

Instructions

  • clone/fork/download repository
  • run npm install
  • create DB
  • copy .env.example to .env and edit config by you environment
  • install npm package by your DB System (pg for PostgreSQL and Amazon Redshift, mysql for MySQL or MariaDB, sqlite3 for SQLite3, or mssql for MSSQL.
  • install knex globally to be able to run migrations and seeds: npm install knex -g
  • run migrations knex migrate:latest and seeds knex seed:run
  • run npm run dev
  • open http://localhost:1337 in your browser

Releases

No releases published

Packages

No packages published