Go with GraphQL + Postgres api project
Screenshot
- GO
- GraphQL
- Postgres
To get a local copy up and running follow these simple example steps.
git clone https://github.com/akbari4yaseen/go-graphql-postgres-api.git
First, execute the postgres.sql, next, set the Postgres connection string, then run the development server:
go run main.go
Use Postman or another Graphql PlayGround http://localhost:4010/graphql
{
"query": "{users(name:\"yaseen\"){id, name, age, profession, friendly}}"
}
{
{
users(name: "alex") {
id
name
age
profession
friendly
}
}
}
👤 Yaseen Akbari
- GitHub: @githubhandle
- Twitter: @twitterhandle
- LinkedIn: LinkedIn
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!