{"id":21531775,"url":"https://github.com/weiwei2694/express-jwt-start","last_synced_at":"2026-05-04T15:36:55.675Z","repository":{"id":204112884,"uuid":"710809010","full_name":"weiwei2694/express-jwt-start","owner":"weiwei2694","description":"Express Jwt: Express, Jsonwebtoken, Prisma, MySQL","archived":false,"fork":false,"pushed_at":"2023-10-30T09:35:17.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T19:30:31.831Z","etag":null,"topics":["express","jwt","middlewares","mysql","prisma","roles"],"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/weiwei2694.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":"2023-10-27T13:38:14.000Z","updated_at":"2023-10-30T09:48:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"d2ea06cd-09ec-4b6f-aba9-5cd4d67efdbf","html_url":"https://github.com/weiwei2694/express-jwt-start","commit_stats":null,"previous_names":["weiwei2694/express-jwt-start"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/weiwei2694/express-jwt-start","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weiwei2694%2Fexpress-jwt-start","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weiwei2694%2Fexpress-jwt-start/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weiwei2694%2Fexpress-jwt-start/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weiwei2694%2Fexpress-jwt-start/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weiwei2694","download_url":"https://codeload.github.com/weiwei2694/express-jwt-start/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weiwei2694%2Fexpress-jwt-start/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265883685,"owners_count":23843797,"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":["express","jwt","middlewares","mysql","prisma","roles"],"created_at":"2024-11-24T02:17:19.544Z","updated_at":"2025-10-28T21:08:07.255Z","avatar_url":"https://github.com/weiwei2694.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Express Jwt: Express, Jsonwebtoken, Prisma, MySQL\n\n## Key Features\n- Roles\n- Middlewares\n- Jwt\n- ORM using Prisma\n- MySQL Database\n- Cookie\n- Http Only\n\n## Cloning the repository\n\n```bash\ngit clone https://github.com/weiwei2694/express-jwt-start.git\ncd express-jwt-start\n```\n\n## Install packages\n\n```bash\nnpm install\n```\n\n## Setup .env file\n\n```\n# SERVER\nPORT=8000\n\n# JWT\nACCESS_TOKEN_SECRET=access_token_secret\nACCESS_TOKEN_EXPIRED=30\nREFRESH_TOKEN_SECRET=refresh_token_secret\nREFRESH_TOKEN_EXPIRED=30\n\n# DATABASE\nDATABASE_URL=\n```\n\n## Setup Prisma\n\nAdd MySQL Database\n\n```bash\nnpx prisma generate\nnpx prisma db push\n```\n\n## Available commands\n\n| Command                | Description                              |\n| ---------------------- | ---------------------------------------- |\n| `npm run dev`          | Starts a development instance of the app |\n| `npm run prettier`     | Check and format code using Prettier     |\n| `npm run prettier:fix` | Format code using Prettier (fix issues)  |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweiwei2694%2Fexpress-jwt-start","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweiwei2694%2Fexpress-jwt-start","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweiwei2694%2Fexpress-jwt-start/lists"}