{"id":20440264,"url":"https://github.com/alyssonbarrera/nlw-pocket-server","last_synced_at":"2026-04-11T15:38:52.493Z","repository":{"id":256867104,"uuid":"856086761","full_name":"alyssonbarrera/nlw-pocket-server","owner":"alyssonbarrera","description":"Projeto Back-end | NLW Pocket - Rocketseat","archived":false,"fork":false,"pushed_at":"2024-09-13T01:29:38.000Z","size":1356,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-05T11:50:51.875Z","etag":null,"topics":["drizzle-orm","fastify","nodejs","zod"],"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/alyssonbarrera.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-12T00:59:44.000Z","updated_at":"2024-09-14T12:07:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"f8d0ef18-22ff-4a46-86f9-716c278a73e5","html_url":"https://github.com/alyssonbarrera/nlw-pocket-server","commit_stats":null,"previous_names":["alyssonbarrera/nlw-pocket-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alyssonbarrera/nlw-pocket-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alyssonbarrera%2Fnlw-pocket-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alyssonbarrera%2Fnlw-pocket-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alyssonbarrera%2Fnlw-pocket-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alyssonbarrera%2Fnlw-pocket-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alyssonbarrera","download_url":"https://codeload.github.com/alyssonbarrera/nlw-pocket-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alyssonbarrera%2Fnlw-pocket-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31686141,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["drizzle-orm","fastify","nodejs","zod"],"created_at":"2024-11-15T09:23:14.695Z","updated_at":"2026-04-11T15:38:52.435Z","avatar_url":"https://github.com/alyssonbarrera.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\" style=\"margin-bottom: 20px;\"\u003e\n  \u003cimg width=\"100%\" src=\"./assets/thumbnail.png\" alt=\"Print da tela de login e cadastro.\" /\u003e\n\u003c/div\u003e\n\n# API\n\nGoal tracking with weekly progress API\n\n---\nDocumentation for the API can be found [here](https://documenter.getpostman.com/view/20700565/2sAXqmCmGh)\n---\n\n### 💻 To run on your machine, follow the steps below:  \n\n\u003cbr/\u003e\n\n📄 Clone the project on your machine;  \n\n🔐 Having done that, go into the project folder and create the .env file;  \n\n📄 Once created, it should contain:  \n\n```\n# Database\nDATABASE_URL=\"postgresql://docker:docker@localhost:5432/nlw_pocket_db\"\n\n# Server\nPORT=3333\n```\n💡 Remember to update the variables based on your configurations.  \n\n📂 Next, open the terminal in the project folder and run the following command:  \n\n```shell\ndocker compose up\n ```\n\n⌨ After that, it will be necessary to install the dependencies, so run the following command in your terminal:  \n\n```shell\nnpm install\n```\n\n🌎 Next, run the migrations using:  \n\n```shell\nnpm run migration:run\n```\n\n🚀 Finally, to start the application, run:  \n\n```shell\nnpm run dev\n```\n\n📡 With everything set up, you will be able to access the application using:  \n\n```text\nhttp://localhost:3000\n```\n\n---\n\n## Stack\n\n- TypeScript\n- Node.js\n- PostgreSQL\n- Fastify\n- Drizzle ORM\n- Zod","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falyssonbarrera%2Fnlw-pocket-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falyssonbarrera%2Fnlw-pocket-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falyssonbarrera%2Fnlw-pocket-server/lists"}