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
- Host: GitHub
- URL: https://github.com/abdullahceylan/graphql-mysql-server-boilerplate
- Owner: abdullahceylan
- License: mit
- Created: 2019-01-21T12:43:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-21T14:07:49.000Z (over 7 years ago)
- Last Synced: 2025-04-15T15:06:42.961Z (about 1 year ago)
- Topics: apollo, apollo-graphql, apollo-server, boilerplate, graphql, graphql-server, mysql, nodejs
- Language: JavaScript
- Size: 9.77 KB
- Stars: 2
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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_