{"id":15655426,"url":"https://github.com/bdefore/universal-redux-jwt","last_synced_at":"2025-05-05T14:41:32.590Z","repository":{"id":136861903,"uuid":"49783279","full_name":"bdefore/universal-redux-jwt","owner":"bdefore","description":"An example of universal-redux npm package with JWT authentication","archived":false,"fork":false,"pushed_at":"2016-09-18T17:46:15.000Z","size":43,"stargazers_count":25,"open_issues_count":3,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-10T18:06:58.578Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/bdefore.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":"2016-01-16T17:27:06.000Z","updated_at":"2025-01-20T10:32:57.000Z","dependencies_parsed_at":"2024-07-14T13:46:50.330Z","dependency_job_id":null,"html_url":"https://github.com/bdefore/universal-redux-jwt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdefore%2Funiversal-redux-jwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdefore%2Funiversal-redux-jwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdefore%2Funiversal-redux-jwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdefore%2Funiversal-redux-jwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bdefore","download_url":"https://codeload.github.com/bdefore/universal-redux-jwt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252516099,"owners_count":21760725,"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":[],"created_at":"2024-10-03T12:59:10.731Z","updated_at":"2025-05-05T14:41:32.585Z","avatar_url":"https://github.com/bdefore.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a minimal example of how to use the [Universal Redux](https://github.com/bdefore/universal-redux) npm package with [express-jwt-proxy](https://github.com/bdefore/express-jwt-proxy) to provide JWT authentication with an external API. It is intended to be modular; you can replace either the auth server or API server with the implementation of your choice.\n\nAn example is [deployed to Heroku](https://universal-redux-jwt-example.herokuapp.com).\n\n---\n\n## Requirements\n\n- node.JS 4 or higher\n- npm 2 or higher\n- Redis\n\n## Installation\n\nThe following steps will set up your local environment.\n\n#### Install nvm\n\nInstalling Node via nvm is recommended. Install [nvm](https://github.com/creationix/nvm) (Node Version Manager) via the [nvm install script](https://github.com/creationix/nvm#install-script).\n\n#### Install node, npm\n\nUse nvm to install the version of node.js. Your package manager, npm, is included with the node installation.\n\n```sh\nnvm install 5.2.0\n```\n\n#### Install Redis\n\nRedis is used to store authentication tokens. You'll need to install and have this running when developing locally.\n\n```sh\nbrew install redis\n```\n\n#### Install Project Dependencies\n\nUse npm to install all project dependencies listed in [package.json](package.json).\n\n```sh\nnpm install\n```\n\n## Running\n\n#### Configure Environment Variables\n\n```sh\ncp .env.example .env\n```\n\nCurrently you do not need to add any specific variables to `.env` but you may wish to add or modify them when developing against other targets.\n\n#### Start the Redis server\n\nAuthentication by default uses Redis to manage its session store. This script will start it up if you haven't already.\n\n```sh\nredis-server\n```\n\n#### Start the dev, auth, and API servers\n\n```sh\nnpm run dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdefore%2Funiversal-redux-jwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbdefore%2Funiversal-redux-jwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdefore%2Funiversal-redux-jwt/lists"}