The repo is setup project based on apollo-server with graphql and module structure with ES6 or greater
graph LR
id1[Clone project]-->id2[create .env file];
id2[create .env file] --> id3[yarn install];
git clone [email protected]:hunghkit/graphql-template-by-module.git
cd graphql-template-by-module
yarn install
- Nodejs
- Docker
yarn start
run the development environmentyarn dev
run the development environment with watch codeyarn build
compile the code ES6 via babelyarn test
run basic test
- Need to run
docker-compose up -d
to init mongodb env in your project in first time run project