{"id":21109650,"url":"https://github.com/hadyrashwan/golang-for-node-devs","last_synced_at":"2026-01-28T00:05:28.120Z","repository":{"id":251776902,"uuid":"838342532","full_name":"hadyrashwan/golang-for-node-devs","owner":"hadyrashwan","description":"A todo app built using Turso and Go. ","archived":false,"fork":false,"pushed_at":"2024-09-11T16:21:42.000Z","size":18480,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T22:12:07.511Z","etag":null,"topics":["golang","react","sqlite","turso"],"latest_commit_sha":null,"homepage":"https://go-react-todo.netlify.app/","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/hadyrashwan.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":"2024-08-05T12:55:22.000Z","updated_at":"2024-10-01T08:45:56.000Z","dependencies_parsed_at":"2024-09-11T23:22:21.356Z","dependency_job_id":null,"html_url":"https://github.com/hadyrashwan/golang-for-node-devs","commit_stats":null,"previous_names":["hadyrashwan/golang-for-node-devs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadyrashwan%2Fgolang-for-node-devs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadyrashwan%2Fgolang-for-node-devs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadyrashwan%2Fgolang-for-node-devs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadyrashwan%2Fgolang-for-node-devs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hadyrashwan","download_url":"https://codeload.github.com/hadyrashwan/golang-for-node-devs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248670513,"owners_count":21142896,"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":["golang","react","sqlite","turso"],"created_at":"2024-11-20T00:55:13.765Z","updated_at":"2026-01-28T00:05:23.100Z","avatar_url":"https://github.com/hadyrashwan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# To-do App\n\nA to-do app built using Turso and Go.\n[![Netlify Status](https://api.netlify.com/api/v1/badges/0a743edc-8c45-49a3-ba9d-922c15554c3c/deploy-status)](https://app.netlify.com/sites/go-react-todo/deploys)\n\n[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/hadyrashwan/golang-for-node-devs)\n\n\n## Demo\nCheck out the demo of this project [**here**](https://go-terso-todo.techcrafter.online/).\n\n\n## Technologies Used\n\n- Frontend: React, Chakra UI, Vite\n- Backend: Turso, Go\n## Running Backend Tests\n\nTo run the tests for the backend you can run: `go test ./...`\n## Environment Variables\n\nThe following environment variables are required for the project to function properly:\n\n- `BACKEND_PORT` The port number on which the backend server will run.\n- `DB_URL` The URL of the database used by the project.\n- `DB_TOKEN` The token required to authenticate with the database.\n- `GO_VERSION` The version of Go used for building the backend.\n- `IS_LOCAL` A boolean value indicating whether the project is running locally or not.\n\nMake sure to set these environment variables before running the project.\n\n## Running Locally\n\nTo run the project locally, follow these steps:\n\n### Backend\n\n1. Create a new file named `.env` in the `backend/api` directory based on `.env.local.example`.\n2. Run the following command to start the backend server:\n   ```shell\n   go run .\n   ```\n3. The backend server will start and listen on the port specified by the `BACKEND_PORT` environment variable.\n\n### Frontend\n\n1. Create a new file named `.env` in the `client` directory based on `.env.local.example`.\n\n2. Install the project dependencies by running the following command in the `client` directory:\n   ```shell\n   npm install\n   ```\n3. Start the development server by running the following command in the `client` directory:\n   ```shell\n   npm run dev\n   ```\n4. The frontend will start and be accessible at URL mentioned in the console.\n \n## Deploying to Netlify\n\nTo deploy the project to Netlify, follow these steps:\n\n1. Set the environment variables found in backend/api/.env.netlify.example within your Netlify project settings.\n\n2. Set the environment variables from client/.env.netlify.example in your Netlify project settings, adjusting them according to your site's naming conventions.\n\n3. Deploy the project to Netlify.\n\n\n## API Documentation\n\nFor API documentation, please refer to the [Postman documentation](https://www.postman.com/hady-space/workspace/golang-for-node-devs/overview).\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhadyrashwan%2Fgolang-for-node-devs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhadyrashwan%2Fgolang-for-node-devs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhadyrashwan%2Fgolang-for-node-devs/lists"}