{"id":19646490,"url":"https://github.com/rezapfebriyan/expressjs-multi-role","last_synced_at":"2026-04-14T05:31:55.843Z","repository":{"id":89078708,"uuid":"586552973","full_name":"rezapfebriyan/expressJS-multi-role","owner":"rezapfebriyan","description":"Restful CRUD upload file and multi Role app using Express JS and MySQL","archived":false,"fork":false,"pushed_at":"2023-11-06T13:09:21.000Z","size":4557,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-27T00:16:57.289Z","etag":null,"topics":["expressjs","mysql-database","nodejs","restfulapi"],"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/rezapfebriyan.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}},"created_at":"2023-01-08T14:51:30.000Z","updated_at":"2023-02-27T15:34:51.000Z","dependencies_parsed_at":"2023-11-06T13:43:58.633Z","dependency_job_id":"f5b9b7d4-8d2c-44f5-9487-7477d21ec85c","html_url":"https://github.com/rezapfebriyan/expressJS-multi-role","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rezapfebriyan/expressJS-multi-role","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rezapfebriyan%2FexpressJS-multi-role","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rezapfebriyan%2FexpressJS-multi-role/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rezapfebriyan%2FexpressJS-multi-role/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rezapfebriyan%2FexpressJS-multi-role/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rezapfebriyan","download_url":"https://codeload.github.com/rezapfebriyan/expressJS-multi-role/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rezapfebriyan%2FexpressJS-multi-role/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31784251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: 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":["expressjs","mysql-database","nodejs","restfulapi"],"created_at":"2024-11-11T14:38:50.613Z","updated_at":"2026-04-14T05:31:55.829Z","avatar_url":"https://github.com/rezapfebriyan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### expressJS-multi-role\n*Restful CRUD and multi Role app using Express JS and MySQL*\n\n### Getting Start Guide\nClone this repo to your local computer.\n\n- copy the **.env.example** file, then paste and delete the .example so it becomes an **.env** file.\n- fill the port and secret session data in the **.env** file as you wish.\n- set up the database according to what is in your local database in the **config/Database.js** file.\n- Run the command bellow to install package dependencies (get node_modules)\n```sh\nnpm install\n```\n- in the **model/User.js** file, uncomment the script on lines 50 to 55, then run the command below (for generate the table User automatically):\n```sh\nnode models/User.js\n```\n- do the same thing in the **model/Product.js** file to generate the Product table, run command bellow:\n```sh\nnode models/Product.js\n```\n- in the **index.js** file uncomment the script on line 36, then run the command bellow (for generate the table Session automatically):\n```sh\nnode index.js\n```\n*After it has been successfully generated, comment back on the script on the three files*\n\nRun the command bellow\n```sh\nnodemon index\n```\n**The app ready to use**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frezapfebriyan%2Fexpressjs-multi-role","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frezapfebriyan%2Fexpressjs-multi-role","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frezapfebriyan%2Fexpressjs-multi-role/lists"}