CRUD Graphql Express

Preparation - How to use

Disclaimer

I hope you guys have been installed the node.js and npm in your local system. The minimum version is on Node 10 or above (Run into on your local)

Config

  1. Create .env file in your project. You can see the value at example.env. file
  2. Please fill MYSQL_USERNAME, MYSQL_PASSWORD, DATABASE_TYPE, MYSQL_DATABASE to your local

Database

A database MySQL with name, and please to import the database to your local database

db_crud_graphql.sql

Install Environment

Run this script to install the project

npm install

or

npm i

Start

Run this script to starting your project

#Terminal 1

npm run ts

#Terminal 2

npm run start

Tech Stack

  1. Node.js
  2. Typescript
  3. Express
  4. Mysql
  5. GraphQL