An open API service indexing awesome lists of open source software.

https://github.com/abdullahceylan/graphql-mysql-server-boilerplate

A node.js, express, GraphQL and MySQL based boilerplate using Apollo Server
https://github.com/abdullahceylan/graphql-mysql-server-boilerplate

apollo apollo-graphql apollo-server boilerplate graphql graphql-server mysql nodejs

Last synced: 4 months ago
JSON representation

A node.js, express, GraphQL and MySQL based boilerplate using Apollo Server

Awesome Lists containing this project

README

          

# graphql-mysql-server-boilerplate
A node.js, express, GraphQL and MySQL based boilerplate using Apollo Server

**NOTE:** This repo is still **W**_ork_**I**_n_**P**_rogress_. Please do not use for the production!!

## Running Locally

1. Clone this repo
2. Type `cd graphql-mysql-server-boilerplate` to enter the project folder
3. Run `npm install` or `yarn install` and install dependencies
4. Rename `.env.dev` to `.env`
5. Insert your `MySQL` connection settings into the `.env` file
6. Run `npm run start:dev` or `yarn start:dev` and visit [localhost:4000/graphql](http://localhost:4000/graphql)

## Build

1. Run `npm run build` or `yarn build`
2. The compiled version will be in `/dist/`

## Live Example

**W**_ork_**I**_n_**P**_rogress_