{"id":23496252,"url":"https://github.com/srj101/rest-auth-template","last_synced_at":"2026-04-30T14:34:54.924Z","repository":{"id":113024313,"uuid":"524413587","full_name":"srj101/REST-Auth-Template","owner":"srj101","description":"Authentication Getting Started REST","archived":false,"fork":false,"pushed_at":"2022-08-13T14:27:23.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-22T12:12:54.496Z","etag":null,"topics":["authentication","authentication-middleware","javascript","nodejs","rest-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/srj101.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":"2022-08-13T13:56:05.000Z","updated_at":"2022-08-13T14:01:03.000Z","dependencies_parsed_at":"2023-06-05T16:30:16.636Z","dependency_job_id":null,"html_url":"https://github.com/srj101/REST-Auth-Template","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srj101%2FREST-Auth-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srj101%2FREST-Auth-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srj101%2FREST-Auth-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srj101%2FREST-Auth-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srj101","download_url":"https://codeload.github.com/srj101/REST-Auth-Template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250237833,"owners_count":21397401,"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":["authentication","authentication-middleware","javascript","nodejs","rest-api"],"created_at":"2024-12-25T04:11:59.495Z","updated_at":"2026-04-30T14:34:49.902Z","avatar_url":"https://github.com/srj101.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# REST Authentication Template\n\n\u003e Authentication REST API Getting Started Template by SRJOY.\n\nThis is an simple authentication REST api template for my own personal use to get me up \u0026 running fast and easy\n\n## Features\n\n- Admin Role\n- Cookie based authentication\n- JWT Access Tokens\n- Other user roles\n- Login\n- Register\n\n## Usage\n\n### ES Modules in Node\n\nWe use ECMAScript Modules in the backend in this project. Be sure to have at least Node v14.6+ or you will need to add the \"--experimental-modules\" flag.\n\nAlso, when importing a file (not a package), be sure to add .js at the end or you will get a \"module not found\" error\n\nYou can also install and setup Babel if you would like\n\n### Env Variables\n\nCreate a .env file in then root and add the following\n\n```\nMONGO = your mongodb uri\nJWT = your top secret jwt\n```\n\n### Install Dependencies\n\n```\nnpm install\n```\n\n### Run\n\n```\n# Run backend (:5000)\nnpm start\n```\n\n## License\n\nThe MIT License\n\nCopyright (c) 2022 SR JOY\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrj101%2Frest-auth-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrj101%2Frest-auth-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrj101%2Frest-auth-template/lists"}