{"id":25867203,"url":"https://github.com/sans-script/in.orbit","last_synced_at":"2026-06-08T08:31:46.799Z","repository":{"id":257266076,"uuid":"857770154","full_name":"sans-script/in.orbit","owner":"sans-script","description":"in.orbit is a full-stack goal scheduling application developed during the Rocketseat event, NLW Pocket: JavaScript - Full-Stack Intermediate.","archived":false,"fork":false,"pushed_at":"2024-09-15T15:16:04.000Z","size":86,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T03:35:25.422Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/sans-script.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-09-15T15:11:34.000Z","updated_at":"2024-09-15T15:16:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"f0fe8870-6848-4f3c-a481-4ad1bce94bcd","html_url":"https://github.com/sans-script/in.orbit","commit_stats":null,"previous_names":["sans-script/in.orbit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sans-script/in.orbit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sans-script%2Fin.orbit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sans-script%2Fin.orbit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sans-script%2Fin.orbit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sans-script%2Fin.orbit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sans-script","download_url":"https://codeload.github.com/sans-script/in.orbit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sans-script%2Fin.orbit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34055245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-03-02T03:34:23.622Z","updated_at":"2026-06-08T08:31:46.793Z","avatar_url":"https://github.com/sans-script.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# in.orbit\n\n**in.orbit** is a full-stack goal scheduling application developed during the Rocketseat event, **NLW Pocket: JavaScript - Full-Stack Intermediate**.\n\n## Features\n\nThe application allows users to:\n- Set weekly goals\n- Track pending goals for the week\n- Mark goals as completed\n- View a weekly summary of goal progress\n\n## Technologies Used\n\n### Backend\n- **Node.js** with **TypeScript**\n- **Fastify** framework\n- **DrizzleORM** for database interaction\n- **PostgreSQL** as the database\n- **Docker** for containerization\n- **Zod** for schema validation\n\n### Frontend\n- **ReactJS** with **TypeScript**\n- **Vite** for tooling\n- **TailwindCSS** for responsive styling\n- **TanStack Query** for asynchronous data management\n- Integration with the Node.js API\n\n## API Endpoints\n\nVisit the `requests.http` file inside the server folder to test the API using the **REST Client** extension for VSCode, **Postman**, or other API testing tools.\n\n### Goals\n\n```bash\ncurl -X POST http://localhost:3333/goals \\\n-H \"Content-Type: application/json\" \\\n-d '{\"title\": \"Fazer nada\", \"desiredWeeklyFrequency\": 7}'\n```\n\n### Get week pending goals\n\n```bash\ncurl -X GET http://localhost:3333/pending-goals\n```\n\n### Create goal completion\n\n```bash\ncurl -X POST http://localhost:3333/completions \\\n-H \"Content-Type: application/json\" \\\n-d '{\"goalId\": \"the_goal_id_here\"}'\n```\n\n### Get week summary\n\n```bash\ncurl -X GET http://localhost:3333/summary\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsans-script%2Fin.orbit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsans-script%2Fin.orbit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsans-script%2Fin.orbit/lists"}