{"id":15754913,"url":"https://github.com/ldgit/authorization-server","last_synced_at":"2025-10-13T00:41:16.609Z","repository":{"id":247674502,"uuid":"826503431","full_name":"ldgit/authorization-server","owner":"ldgit","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-01T16:03:23.000Z","size":541,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-25T10:52:18.113Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ldgit.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":"2024-07-09T20:42:51.000Z","updated_at":"2024-10-01T16:03:26.000Z","dependencies_parsed_at":"2024-10-25T06:48:06.890Z","dependency_job_id":"a35fed1c-f9ff-429b-bde5-785a57ba2d91","html_url":"https://github.com/ldgit/authorization-server","commit_stats":null,"previous_names":["ldgit/authorization-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ldgit/authorization-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldgit%2Fauthorization-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldgit%2Fauthorization-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldgit%2Fauthorization-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldgit%2Fauthorization-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ldgit","download_url":"https://codeload.github.com/ldgit/authorization-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldgit%2Fauthorization-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013635,"owners_count":26085298,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"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":"2024-10-04T08:05:34.840Z","updated_at":"2025-10-13T00:41:16.589Z","avatar_url":"https://github.com/ldgit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Authorization Server\n\n[![build](https://github.com/ldgit/authorization-server/actions/workflows/build.yml/badge.svg)](https://github.com/ldgit/authorization-server/actions/workflows/build.yml)\n\n### 🚧🚨 Unfinished WIP 🚨🚧\n\nOAuth 2.0 authorization server implementation. Follows specification defined in:\n- [IETF RFC 6749 The OAuth 2.0 Authorization Framework](https://datatracker.ietf.org/doc/html/rfc6749.html) \n- [IETF RFC 6750 The OAuth 2.0 Authorization Framework: Bearer Token Usage](https://datatracker.ietf.org/doc/html/rfc6750.html)\n\n## Local Development\n\n### First time setup\n\n1. Create the `.env` file: `cp .dev.env .env`.\n2. Install npm packages: `npm ci`.\n3. `npx playwright install --with-deps` to install Playwright browsers for e2e testing.\n\n### Starting the server \n\n1. Start up the database docker container: `docker-compose up -d`.\n2. Set up the dev database: `npm run dev-db`.\n3. Start the local server: `npm run dev`.\n4. If working on css styles run `npm run styles -- --watch` separately.\n5. Access in browser on `http://127.0.0.1:3000/`.\n\n### Testing\n\nTo run unit and integration tests: `npm t`\n\nTo run end to end tests:\n1. ***Optional*** `npm run dev` to start up the dev server. Playwright will do this automatically if the server is not running, but this is useful if you wish to see server errors in the console.\n2. `npm run e2e` to run the tests.\n\n## Tech used\n\n- Fastify web framework\n- PostgreSQL for database\n- ejs for templating\n- Tailwind for styles\n- Vitest for unit and integration testing\n- Playwright for e2e testing\n- biome.js for linting and enforcing code style\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fldgit%2Fauthorization-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fldgit%2Fauthorization-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fldgit%2Fauthorization-server/lists"}