{"id":24312508,"url":"https://github.com/gulalicelik/nodejs-express-sequelize-mysql-api-boilerplate","last_synced_at":"2025-08-04T06:39:25.695Z","repository":{"id":147781635,"uuid":"618863750","full_name":"gulalicelik/nodejs-express-sequelize-mysql-api-boilerplate","owner":"gulalicelik","description":"Node.js-Express-Sequelize-PM2-MySQL-API Boilerplate is a pre-configured template for building web applications based on Node.js. This project is created to help API developers save time.","archived":false,"fork":false,"pushed_at":"2024-07-17T12:32:08.000Z","size":142,"stargazers_count":23,"open_issues_count":0,"forks_count":14,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-22T14:21:26.762Z","etag":null,"topics":["api","api-rest","exprees","mysql","node-express-boilerplate","node-express-mysql","nodejs"],"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/gulalicelik.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-03-25T15:18:18.000Z","updated_at":"2025-01-28T02:44:57.000Z","dependencies_parsed_at":"2023-12-17T04:40:42.069Z","dependency_job_id":"af76ca34-3d8d-4dc1-9f18-c1d3b2f1612a","html_url":"https://github.com/gulalicelik/nodejs-express-sequelize-mysql-api-boilerplate","commit_stats":{"total_commits":72,"total_committers":1,"mean_commits":72.0,"dds":0.0,"last_synced_commit":"f4349671b9fd65a974a121e281cd7b90b8799bd3"},"previous_names":[],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/gulalicelik/nodejs-express-sequelize-mysql-api-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulalicelik%2Fnodejs-express-sequelize-mysql-api-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulalicelik%2Fnodejs-express-sequelize-mysql-api-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulalicelik%2Fnodejs-express-sequelize-mysql-api-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulalicelik%2Fnodejs-express-sequelize-mysql-api-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gulalicelik","download_url":"https://codeload.github.com/gulalicelik/nodejs-express-sequelize-mysql-api-boilerplate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulalicelik%2Fnodejs-express-sequelize-mysql-api-boilerplate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268658455,"owners_count":24285681,"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","status":"online","status_checked_at":"2025-08-04T02:00:09.867Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","api-rest","exprees","mysql","node-express-boilerplate","node-express-mysql","nodejs"],"created_at":"2025-01-17T08:17:58.123Z","updated_at":"2025-08-04T06:39:25.639Z","avatar_url":"https://github.com/gulalicelik.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nodejs-express-mysql-api-boilerplate\n\na simple boilerplate for nodejs express mysql api\nclone this repo and start your project\n\n## Installation\n\n```bash\nnpx @gulali/nodejs-express-sequelize-mysql-api-boilerplate my-project-api\n```\n\n## Usage\n\n### Database configuration\n\nedit config/config.json file and change your database name, username and password\n\n```bash\n{\n  \"development\": {\n    \"username\": \"root\",\n    \"password\": \"\",\n    \"database\": \"api_db_development\",\n    \"host\": \"127.0.0.1\",\n    \"dialect\": \"mysql\"\n  },\n  \"test\": {\n    \"username\": \"root\",\n    \"password\": \"\",\n    \"database\": \"api_db_test\",\n    \"host\": \"127.0.0.1\",\n    \"dialect\": \"mysql\"\n  },\n  \"production\": {\n    \"username\": \"root\",\n    \"password\": \"\",\n    \"database\": \"api_db_production\",\n    \"host\": \"127.0.0.1\",\n    \"dialect\": \"mysql\"\n  }\n}\n\n```\nand run this command to create database and tables\n```bash\nnpm run prepare\n```\n\n### Run the project\n```bash\nnpm run start:dev\n```\n\n## Model Generation\n\n```bash\nnpx sequelize-cli model:generate --name user --attributes firstname:string,lastname:string,username:string,email:string,password:string,gender:string,active:integer,deleted:integer,token:string,token_expire:string,birthday:date,role:string\n```\n\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgulalicelik%2Fnodejs-express-sequelize-mysql-api-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgulalicelik%2Fnodejs-express-sequelize-mysql-api-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgulalicelik%2Fnodejs-express-sequelize-mysql-api-boilerplate/lists"}