{"id":14976025,"url":"https://github.com/shpota/skmz","last_synced_at":"2025-04-09T05:13:19.137Z","repository":{"id":38992686,"uuid":"234936681","full_name":"Shpota/skmz","owner":"Shpota","description":"A GraphQL-based Web App written with Go, React and MongoDB","archived":false,"fork":false,"pushed_at":"2024-09-26T20:48:24.000Z","size":1383,"stargazers_count":402,"open_issues_count":18,"forks_count":47,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-09T03:11:36.580Z","etag":null,"topics":["docker","docker-compose","full-stack","full-stack-application","go","golang","graphql","graphql-api","javascript","js","react","reactjs"],"latest_commit_sha":null,"homepage":"https://shpota.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Shpota.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-19T17:20:39.000Z","updated_at":"2025-03-23T14:14:19.000Z","dependencies_parsed_at":"2024-01-14T06:50:16.559Z","dependency_job_id":"539b1d7f-c418-458f-b37a-88f5a1e8d6d7","html_url":"https://github.com/Shpota/skmz","commit_stats":{"total_commits":17,"total_committers":4,"mean_commits":4.25,"dds":"0.23529411764705888","last_synced_commit":"30e3b06bafb79bec68e6c60beb689be72c7a79cf"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shpota%2Fskmz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shpota%2Fskmz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shpota%2Fskmz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shpota%2Fskmz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shpota","download_url":"https://codeload.github.com/Shpota/skmz/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247980843,"owners_count":21027808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","full-stack","full-stack-application","go","golang","graphql","graphql-api","javascript","js","react","reactjs"],"created_at":"2024-09-24T13:53:10.014Z","updated_at":"2025-04-09T05:13:19.117Z","avatar_url":"https://github.com/Shpota.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"SKMZ [![](https://img.shields.io/codecov/c/github/Shpota/skmz?color=green\u0026logo=test%20coverage)](https://codecov.io/gh/Shpota/skmz)\n====\n\n\u003e ⚠ Disclaimer\n\u003e\n\u003e I created this project a while ago, and it might need to be updated. Check out **[Goxygen](https://github.com/Shpota/goxygen)** , a tool for creating modern web projects with Go and React, Vue or Angular.\n\n\nA web application that allows to query programmers\nwith their skills via a **GraphQL** API. The\napplication is implemented with **Go** and \n**gqlgen**\non the backend side and **React** on the front end\nside. **MongoDB** is used as a database.\n\n![Showcase](showcase.gif)\n\n\n## System requirements\nYou need to have [Docker](https://www.docker.com) and\n[Docker Compose](https://docs.docker.com/compose/)\ninstalled in oder to build and run the project. No\nadditional tools required.\n\n## How to build and run in production mode\nPerform \n```sh\ndocker-compose up\n```\nAccess the application via http://localhost:8080.\nAccess the GraphQL Playground using \nhttp://localhost:8080/playground.\n\n## How to develop locally\n\n**Tools**\n\nIn order to develop the app locally the following\ntools are required: [Docker](https://docs.docker.com/),\n[Docker Compose](https://docs.docker.com/compose/) (if you\nare on Mac or Windows it comes installed with Docker), \n[Node.js](https://nodejs.org/en/) and\n[Go](https://golang.org/dl/).\n\nVerify if your environment is ready by running the\nfollowing 4 commands:\n\n```sh\ndocker --version\ndocker-compose --version\nnpm --version\ngo version\n```\n\n**Start the dev DB**\n```sh\ndocker-compose -f docker-compose-dev.yml up\n```\nThis will start a local MongoDB which will be\naccessible on port `27017`. The DB will\nbe populated with test records from \n[mongo.init](server/db/mongo.init).\n\n**Start the server**\n\nNavigate to the `/server` folder and execute:\n\n```sh\ngo run server.go\n```\nThis will compile and run the back end part.\nAs a result, the API and [the GraphQL\nplayground](http://localhost:8080/playground)\nwill be available.\n\n**Start the Front End dev server**\n\nNavigate to the `/webapp` folder and execute\nthe following commands:\n\n```sh\nnpm install\nnpm start\n```\nAs a result, the web site will be accessible\non http://localhost:3000.\n\nThe changes on the front end side will be automatically\napplied once a file is saved. The changes in the back\nend code require restarting the back end.\n\n## Customizations\n\nThe database starts with a preloaded set of data which\ncan be customized in \n[the mongo.init file](server/db/mongo.init).\n\nHere is an example of a GraphQL query which can be\nrun in [the Playground](http://localhost:8080/playground):\n```graphql\nquery {\n  programmers(skill: \"go\") { \n    name,\n    picture,\n    title,\n    company,\n    skills {\n      name,\n      icon,\n      importance\n    }\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshpota%2Fskmz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshpota%2Fskmz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshpota%2Fskmz/lists"}