https://github.com/studyresearchprojects/go-spacex-graphql
:rocket: Go's GraphQL server to serve SpaceX API
https://github.com/studyresearchprojects/go-spacex-graphql
api go graphql server spacex
Last synced: 3 months ago
JSON representation
:rocket: Go's GraphQL server to serve SpaceX API
- Host: GitHub
- URL: https://github.com/studyresearchprojects/go-spacex-graphql
- Owner: StudyResearchProjects
- Created: 2020-03-01T19:13:46.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-01T19:14:44.000Z (almost 6 years ago)
- Last Synced: 2025-08-04T01:01:18.262Z (6 months ago)
- Topics: api, go, graphql, server, spacex
- Language: Go
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-spacex-graphql
:rocket: Go's GraphQL server to serve SpaceX API
## Requirements
- Golang
- Dep
### Recommended
- Make (Optional)
- Postman (Optional)
## Running Locally
### Clone the project using Git
```bash
git clone https://github.com/estebanborai/go-spacex-graphql.git
```
### Install project dependencies
```bash
cd /go-spacex-graphql/src/ && make dep
```
### Install utilities
#### go-bindata
In order to generate GraphQL schemas a package called *go-bindata* is required.
Install *go-bindata* using Golang's `get` command as follows:
```bash
go get -u github.com/jteeuwen/go-bindata/...
```
#### wire
*google/wire* is used to generate/build service providers. Install *google/wire* using the
following command:
```bash
go get github.com/google/wire/cmd/wire
```
### Run the project
```bash
# @ go-spacex-graphql/src/
go run ./main.go
```