{"id":15068222,"url":"https://github.com/husainrizaldy/simple-express-api","last_synced_at":"2026-01-02T15:49:59.200Z","repository":{"id":256051231,"uuid":"854206437","full_name":"husainrizaldy/simple-express-api","owner":"husainrizaldy","description":"practice with node-js","archived":false,"fork":false,"pushed_at":"2024-09-09T08:42:35.000Z","size":45,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T18:51:29.452Z","etag":null,"topics":["express-js","node-js","sequelize-migrations","sequelize-orm","sequelize-seeder"],"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/husainrizaldy.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":"2024-09-08T16:53:04.000Z","updated_at":"2024-10-21T09:54:59.000Z","dependencies_parsed_at":"2024-09-25T01:32:45.835Z","dependency_job_id":"2cac7ab1-00be-4644-b07c-dcb11bd3e97c","html_url":"https://github.com/husainrizaldy/simple-express-api","commit_stats":null,"previous_names":["husainrizaldy/simple-express-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/husainrizaldy%2Fsimple-express-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/husainrizaldy%2Fsimple-express-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/husainrizaldy%2Fsimple-express-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/husainrizaldy%2Fsimple-express-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/husainrizaldy","download_url":"https://codeload.github.com/husainrizaldy/simple-express-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243833218,"owners_count":20355226,"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-js","node-js","sequelize-migrations","sequelize-orm","sequelize-seeder"],"created_at":"2024-09-25T01:32:39.101Z","updated_at":"2026-01-02T15:49:59.164Z","avatar_url":"https://github.com/husainrizaldy.png","language":"JavaScript","readme":"# Simple CRUD using Node.js\n\n## Dependencies\n- `body-parser`\n- `dotenv`\n- `express`\n- `express-validator`\n- `joi`\n- `mysql2`\n- `nodemon`\n- `sequelize`\n- `sequelize-cli`\n\n## Instalasi\n\n**Clone repository**\n   ```\n   git clone https://github.com/husainrizaldy/simple-express-api\n   cd simple-express-api\n   ```\n   \n**Install dependencies**\n   ```\n   npm install\n   ```\n**Config .env file**\n\nCreate a .env file in the root of your project and add the following :\n   ```\n   DB_HOST=localhost\n   DB_USER=root\n   DB_PASSWORD=yourPassword\n   DB_NAME=yourDbName\n   DB_PORT=3306\n   DB_DIALECT='mysql'\n   ```\nYou can use `.env.example` as a reference for the required environment variables.\n\n**Run migrations and seeders**\n\nEnsure that you have created a database in your MySQL server.\n\n```\nnpm run db:migrate\nnpm run db:seed\n```\n\n**Run the application**\n   ```\n   npm run api-service\n   ```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhusainrizaldy%2Fsimple-express-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhusainrizaldy%2Fsimple-express-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhusainrizaldy%2Fsimple-express-api/lists"}