Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hunghkit/graphql-template-by-module
https://github.com/hunghkit/graphql-template-by-module
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/hunghkit/graphql-template-by-module
- Owner: hunghkit
- Created: 2020-02-02T03:30:04.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T06:15:39.000Z (about 2 years ago)
- Last Synced: 2023-03-01T07:32:03.060Z (almost 2 years ago)
- Language: JavaScript
- Size: 1.86 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 18
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Graphql Template By Module
The repo is setup project based on apollo-server with graphql and module structure with ES6 or greater
## Development
### Setup in local
```mermaid
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
```### Environment is required
- Nodejs
- Docker### Basic command
- `yarn start` run the development environment
- `yarn dev` run the development environment with watch code
- `yarn build` compile the code ES6 via babel
- `yarn test` run basic test### Note:
- Need to run `docker-compose up -d` to init mongodb env in your project in first time run project## License: MIT