
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
github.com/beinan/graphql-server
Advanced tools
We are using Github to manage the dependencies.
curl https://glide.sh/get | shl
glide install
├── /server.go # Http Service entry point
├── /schema/ # GraphQL schema defination
├── /utils/ # Utilities
│ ├── /password.go # Password hashing via bcrypt
├── /vendor/ # 3rd-party code managed by Glide
With a single docker-compose command, we are able to start MongoDB, Redid and our graphql server. See Start devel server section.
Note: You only need to do a build when Dockerfile has changed
docker-compose build
docker-compose up
We are using Fresh for watching source files (*.go) changes, and restarting the graphql server inside a docker container.
You might need the setting below if you got "graphql_1 | inotify_init: too many open files"
fs.inotify.max_user_instances=32768
For arch linux users, you can put this into a config file e.g. /etc/sysctl.d/99-sysctl.conf
Ctrl - C or
docker-compose down
glide get github.com/{author}/{packange_name}
FAQs
Unknown package
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.