{"id":18464631,"url":"https://github.com/rogaha/go-postgres-jwt-react-challenge","last_synced_at":"2025-04-29T19:48:31.535Z","repository":{"id":42090034,"uuid":"276745470","full_name":"rogaha/go-postgres-jwt-react-challenge","owner":"rogaha","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-05T02:46:08.000Z","size":1379,"stargazers_count":0,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-28T18:58:54.501Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rogaha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-07-02T21:07:03.000Z","updated_at":"2022-12-14T22:12:16.000Z","dependencies_parsed_at":"2024-06-20T20:46:42.543Z","dependency_job_id":"9de541f7-cb42-4af9-9da0-6c6b03cc80f3","html_url":"https://github.com/rogaha/go-postgres-jwt-react-challenge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogaha%2Fgo-postgres-jwt-react-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogaha%2Fgo-postgres-jwt-react-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogaha%2Fgo-postgres-jwt-react-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogaha%2Fgo-postgres-jwt-react-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rogaha","download_url":"https://codeload.github.com/rogaha/go-postgres-jwt-react-challenge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251372467,"owners_count":21578964,"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":[],"created_at":"2024-11-06T09:10:34.852Z","updated_at":"2025-04-28T18:58:58.356Z","avatar_url":"https://github.com/rogaha.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GO-React starter\n![](./assets/logo.png)\n\nThis is a boilerplate/starter for a go and react project.\n\nIt uses the go gin framework.\n\n\n## Getting started\n\n### With Docker\n\n - Install [Docker](https://docs.docker.com/get-docker/) \n\n - Install [Docker Compose](https://docs.docker.com/compose/install/) \n\n### Without Docker\n\n - Download and install [golang](https://golang.org)\n\n - Download and install [postgres](https://www.postgresql.org/download/)\n    - [Setup Postgres](https://www.codementor.io/engineerapart/getting-started-with-postgresql-on-mac-osx-are8jcopb): Setting up postgres on a mac\n\n   - [Setup postgres- windows](https://www.robinwieruch.de/postgres-sql-windows-setup/): Setting up postgres on windows\n\n## Usage\nClone this repository\n\n### With Docker\n\n```\ndocker-compose up\n```\n\nThat's all :)\n\n### Without Docker\n\nUse the queries in the [server/db/.psql](./server/db/.postgres) file to setup the database.\n\nEnter the DB creds in the [server/config/](./server/config/config.go) file \n\nNavigate to the server directory\n\n```bash\n\u003e cd server\n\u003e go run main.go\n```\n\nThis will start the go server.\n\nTo start the react app navigate to the client directory\n\n```bash\n\u003e cd client\n\u003e yarn install\n\u003e yarn start\n```\n### Endpoints\n\n* /session [GET]\n\n* /register [POST]\n     \n```js\n       { name String,\n         email String,\n         password String\n       }\n```\n* /login [POST]\n```js\n       { email String,\n         password String\n       }\n```\n* /customers [POST] [GET]\n```\n....\n```\n* /paymentmethods [POST] [GET]\n```\n....\n```\n\n## Routes\n* /login\n\n* /register\n\n* /session\n\n* /paymentmethods\n\n* /customers\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogaha%2Fgo-postgres-jwt-react-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frogaha%2Fgo-postgres-jwt-react-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogaha%2Fgo-postgres-jwt-react-challenge/lists"}