{"id":16158913,"url":"https://github.com/markkos89/nodejs-mysql-rest-api-boilerplate","last_synced_at":"2025-04-07T02:26:02.846Z","repository":{"id":99028860,"uuid":"286669528","full_name":"Markkos89/nodejs-mysql-REST-API-boilerplate","owner":"Markkos89","description":"nodejs-JWT-auth-mysql-REST-API-boilerplate","archived":false,"fork":false,"pushed_at":"2020-08-11T07:06:45.000Z","size":343,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-13T07:33:03.655Z","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/Markkos89.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":"2020-08-11T06:56:04.000Z","updated_at":"2020-08-11T07:06:47.000Z","dependencies_parsed_at":"2023-03-07T14:00:31.081Z","dependency_job_id":null,"html_url":"https://github.com/Markkos89/nodejs-mysql-REST-API-boilerplate","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/Markkos89%2Fnodejs-mysql-REST-API-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Markkos89%2Fnodejs-mysql-REST-API-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Markkos89%2Fnodejs-mysql-REST-API-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Markkos89%2Fnodejs-mysql-REST-API-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Markkos89","download_url":"https://codeload.github.com/Markkos89/nodejs-mysql-REST-API-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247579789,"owners_count":20961491,"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-10T01:55:27.450Z","updated_at":"2025-04-07T02:26:02.819Z","avatar_url":"https://github.com/Markkos89.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Nodejs RESTful API Boilerplate with JSONWebToken | Express Js\n\n### How to use\n\n- Clone the repository with __git clone__\n- Run __npm install__\n- Run __cp .env.example .env__ for create .env file\n- Import __db.sql__ database\n- Edit database credentials __.env__ file \n- Run __npm run dev__ for start server\n\n### Serve run http://localhost:8080\n\n## API Endpoints\n\n#### Welcome\n- **\u003ccode\u003eGET\u003c/code\u003e api/welcome**\n\n#### Authentication\n- **\u003ccode\u003ePOST\u003c/code\u003e api/login**\n\n#### Registration\n- **\u003ccode\u003ePOST\u003c/code\u003e api/register**\n- **\u003ccode\u003ePOST\u003c/code\u003e api/account-verification**\n- **\u003ccode\u003ePOST\u003c/code\u003e api/account-verification-resend**\n\n#### Password Reset\n- **\u003ccode\u003ePOST\u003c/code\u003e api/password/forgot**\n- **\u003ccode\u003ePOST\u003c/code\u003e api/password/forgot-code-match**\n- **\u003ccode\u003ePOST\u003c/code\u003e api/password/reset**\n\n#### User\n- **\u003ccode\u003eGET\u003c/code\u003e api/users**\n- **\u003ccode\u003ePUT\u003c/code\u003e api/users/:id/toggle-status**\n\n## API Status Code\n\nFollowing status codes in its API:\n\n| Status Code | Description |\n| :--- | :--- |\n| `2xx Success` |\n| 200 | `Success` |\n| 201 | `Created` |\n| `4xx Client Error` |\n| 400 | `Bad Request` |\n| 401 | `Unauthorized` |\n| 404 | `Not Found` |\n| `5xx Server Error` |\n| 500 | `Internal Server Error` |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkkos89%2Fnodejs-mysql-rest-api-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkkos89%2Fnodejs-mysql-rest-api-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkkos89%2Fnodejs-mysql-rest-api-boilerplate/lists"}