{"id":40692110,"url":"https://github.com/artuncolak/nest-react-admin","last_synced_at":"2026-01-21T11:08:26.613Z","repository":{"id":254511338,"uuid":"362956160","full_name":"artuncolak/nest-react-admin","owner":"artuncolak","description":"Admin panel project made with NestJS \u0026 React","archived":false,"fork":false,"pushed_at":"2021-08-18T11:39:19.000Z","size":757,"stargazers_count":13,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-23T23:52:09.091Z","etag":null,"topics":["docker","nestjs","react","typescript"],"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/artuncolak.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":"2021-04-29T21:51:53.000Z","updated_at":"2024-08-23T23:52:14.130Z","dependencies_parsed_at":"2024-08-24T00:03:58.612Z","dependency_job_id":null,"html_url":"https://github.com/artuncolak/nest-react-admin","commit_stats":null,"previous_names":["artuncolak/nest-react-admin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/artuncolak/nest-react-admin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artuncolak%2Fnest-react-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artuncolak%2Fnest-react-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artuncolak%2Fnest-react-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artuncolak%2Fnest-react-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artuncolak","download_url":"https://codeload.github.com/artuncolak/nest-react-admin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artuncolak%2Fnest-react-admin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28632348,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"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":["docker","nestjs","react","typescript"],"created_at":"2026-01-21T11:08:25.964Z","updated_at":"2026-01-21T11:08:26.608Z","avatar_url":"https://github.com/artuncolak.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Admin Panel Project\n\n# Assumptions\n\n- User can have only 1 role.\n- 3 Roles: Admin, Editor, User (Authorizations of roles are described down below)\n- There are 3 data types. Users, Courses and Contents.\n- Courses can have multiple contents.\n\n**Admin**\n\n| Table    | Read | Write | Update | Delete |\n| -------- | ---- | ----- | ------ | ------ |\n| Users    | ✓    | ✓     | ✓      | ✓      |\n| Courses  | ✓    | ✓     | ✓      | ✓      |\n| Contents | ✓    | ✓     | ✓      | ✓      |\n\n**Editor**\n\n| Table    | Read   | Write | Update | Delete |\n| -------- | ------ | ----- | ------ | ------ |\n| Users    | itself |       | itself |        |\n| Courses  | ✓      | ✓     | ✓      |        |\n| Contents | ✓      | ✓     | ✓      |        |\n\n**User**\n\n| Table    | Read   | Write | Update | Delete |\n| -------- | ------ | ----- | ------ | ------ |\n| Users    | itself |       | itself |        |\n| Courses  | ✓      |       |        |        |\n| Contents | ✓      |       |        |        |\n\n# Tech Stack\n\n1. **Backend**: NestJS\n2. **Frontend**: React\n3. **Database**: PostgreSQL\n4. **Testing**: Jest for unit testing. Postman for e2e testing.\n\n# Features\n\n- Swagger Documentation\n- JWT authentication with refresh \u0026 access token\n- Role based authorization\n- Data filtering\n- Fully responsive design\n\n# Authentication\n\nApplication generates 2 tokens on login. Access token and refresh token. Access token has a lifetime of 15 minutes and the refresh token has a lifetime of 1 year.\n\n# First Login\n\nOn the first run, application inserts a new admin to the database.\n\n- **username**: admin\n- **password**: admin123\n\n# How to setup\n\n## **Deploy with Docker**\n\nYou can run the entire app using docker compose.\n\nOn root directory\n\n```bash\ndocker-compose up -d\n```\n\nApplication will be deployed on http://localhost:3000\n\nSwagger Docs on http://localhost:3000/api/docs\n\n## **Running locally**\n\n## Backend\n\nFirst you have to postgresql installed on your computer.\n\nEdit the database properties on the backend/.env file.\n\nOn backend directory\n\n### Installing the dependencies\n\n```bash\nyarn\n```\n\n### Running the app\n\n```bash\n$ yarn start\n```\n\nBackend will be started on http://localhost:5000\n\nSwagger Docs on http://localhost:5000/api/docs\n\n## Frontend\n\nOn frontend directory\n\n### Installing the dependencies\n\n```bash\nyarn\n```\n\n### Running the app\n\n```bash\n$ yarn start\n```\n\nFrontend will be started on http://localhost:3000\n\n# Testing\n\n**Unit testing**\n\nOn backend directory\n\n```bash\nyarn test\n```\n\n**e2e api testing**\n\nFirst start the backend locally.\n\nOn backend directory\n\nInstall the dependencies\n\n```bash\nyarn\n```\n\nStart the backend locally.\n\n```bash\nyarn start\n```\n\nStart the test\n\nTest will login as **username:** admin, **password:** admin123 and create users with usernames test and test2. If you change username and password of admin or if you add users with username test and test2. Tests will fail.\n\n```bash\nyarn test:e2e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartuncolak%2Fnest-react-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartuncolak%2Fnest-react-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartuncolak%2Fnest-react-admin/lists"}