{"id":26784514,"url":"https://github.com/indraarianggi/nodejs-sequelize-mysql-api","last_synced_at":"2025-08-07T15:32:46.647Z","repository":{"id":42300736,"uuid":"234496801","full_name":"indraarianggi/nodejs-sequelize-mysql-api","owner":"indraarianggi","description":"REST API using Node.js, Express, Sequelize and MySQL + JWT Authentication and Authorization","archived":false,"fork":false,"pushed_at":"2022-12-22T13:51:14.000Z","size":89,"stargazers_count":66,"open_issues_count":6,"forks_count":29,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-18T14:10:04.302Z","etag":null,"topics":["express","jsonwebtoken","mysql","nodejs","rest-api","sequelize"],"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/indraarianggi.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}},"created_at":"2020-01-17T07:39:31.000Z","updated_at":"2024-03-28T13:51:23.000Z","dependencies_parsed_at":"2023-01-30T10:31:39.007Z","dependency_job_id":null,"html_url":"https://github.com/indraarianggi/nodejs-sequelize-mysql-api","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/indraarianggi%2Fnodejs-sequelize-mysql-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indraarianggi%2Fnodejs-sequelize-mysql-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indraarianggi%2Fnodejs-sequelize-mysql-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indraarianggi%2Fnodejs-sequelize-mysql-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/indraarianggi","download_url":"https://codeload.github.com/indraarianggi/nodejs-sequelize-mysql-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246171554,"owners_count":20735011,"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","jsonwebtoken","mysql","nodejs","rest-api","sequelize"],"created_at":"2025-03-29T10:28:55.044Z","updated_at":"2025-03-29T10:28:55.515Z","avatar_url":"https://github.com/indraarianggi.png","language":"JavaScript","readme":"# REST API using Node.js, Express, Sequelize and MySQL + JWT Authentication and Authorization\n\n## Getting Started\n\n1. Clone this repository\n\n   ```bash\n   git clone https://github.com/indraarianggi/nodejs-sequelize-mysql-api.git\n   cd nodejs-sequelize-mysql-api\n   ```\n\n2. Install the npm packages\n\n   ```bash\n   npm install\n   ```\n\n   Also install `nodemon` globally, if you don't have it yet.\n\n   ```bash\n   npm install -g nodemon\n   ```\n\n3. Congfigure environment settings\n\n   Create a file with the following name and location `.env` and copy the contents from `.env.example` into it. Replace the values with your specific configuration. Don't worry, this file is in the `.gitignore` so it won't get pushed to github.\n\n   ```javasscript\n    NODE_ENV=development\n    PORT=8080\n\n    # Database\n    DB_HOST=your-db-host\n    DB_USER=your-db-username\n    DB_PASS=your-db-password\n    DB_NAME=your-db-name\n   ```\n\n4. Running the app locally\n\n   Run this command, which is located in npm script in `package.json` file.\n\n   ```bash\n   npm run dev\n   ```\n\n## Resources\n\n1. [Node.js Rest APIs example with Express, Sequelize \u0026 MySQL](https://bezkoder.com/node-js-express-sequelize-mysql/)\n\n2. [Node.js – JWT Authentication \u0026 Authorization with JSONWebToken example](https://bezkoder.com/node-js-jwt-authentication-mysql/)\n\n3. [In-depth Introduction to JWT-JSON Web Token](https://bezkoder.com/jwt-json-web-token/)\n\n4. [Sequelize Documentation](https://sequelize.org/master/)\n\n5. [Getting Started with Node, Express and Mysql Using Sequelize](https://medium.com/@prajramesh93/getting-started-with-node-express-and-mysql-using-sequelize-ed1225afc3e0)\n\n6. [Hidup Mudah dengan Sequelize: ORM Untuk Aplikasi NodeJS](https://refactory.id/post/91-hidup-mudah-dengan-sequelize-orm-untuk-aplikasi-nodejs)\n\n7. [Node.js Everywhere with Environment Variables!](https://medium.com/the-node-js-collection/making-your-node-js-work-everywhere-with-environment-variables-2da8cdf6e786)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findraarianggi%2Fnodejs-sequelize-mysql-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findraarianggi%2Fnodejs-sequelize-mysql-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findraarianggi%2Fnodejs-sequelize-mysql-api/lists"}