{"id":20294833,"url":"https://github.com/hackademymx/node-express-sql-boilerplate-with-docker","last_synced_at":"2025-09-04T00:44:28.902Z","repository":{"id":42305449,"uuid":"224566697","full_name":"hackademymx/node-express-sql-boilerplate-with-docker","owner":"hackademymx","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-19T02:25:54.000Z","size":744,"stargazers_count":4,"open_issues_count":26,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-23T09:48:08.520Z","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/hackademymx.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":"2019-11-28T03:59:48.000Z","updated_at":"2022-05-29T07:59:14.000Z","dependencies_parsed_at":"2024-11-14T15:36:40.620Z","dependency_job_id":"35d9e1f5-2d7b-4c99-a886-16f42e88267b","html_url":"https://github.com/hackademymx/node-express-sql-boilerplate-with-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hackademymx/node-express-sql-boilerplate-with-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackademymx%2Fnode-express-sql-boilerplate-with-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackademymx%2Fnode-express-sql-boilerplate-with-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackademymx%2Fnode-express-sql-boilerplate-with-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackademymx%2Fnode-express-sql-boilerplate-with-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hackademymx","download_url":"https://codeload.github.com/hackademymx/node-express-sql-boilerplate-with-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackademymx%2Fnode-express-sql-boilerplate-with-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273534468,"owners_count":25122676,"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-09-03T02:00:09.631Z","response_time":76,"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":[],"created_at":"2024-11-14T15:31:27.462Z","updated_at":"2025-09-04T00:44:28.883Z","avatar_url":"https://github.com/hackademymx.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Run project\n\ndocker-compose -f docker-compose-dev.yml up --build\n\n# Access to container\n\ndocker exec -ti -u root #container_id /bin/bash\n\n# Generate model\n\nnpx sequelize-cli model:generate --name teachers --attributes firstName:string,lastName:string,email:string,age:integer\n\n# Execute Migrate\n\nsequelize db:migrate --url \"postgres://user_db:tupass@postgres:5432/boilerplate_db\"\n\n# Create new migration\n\nnpx sequelize-cli migration:create --name modify_users_add_new_fields\n\n---\n\nnpx sequelize-cli model:generate --name teachers --attributes firstName:string,lastName:string,email:string,age:integer\n\nnpx sequelize-cli model:generate --name courses --attributes name:string,credits:integer\n\nnpx sequelize-cli model:generate --name courseTeachers --attributes teacherId:integer,courseId:integer\n\n# Association\n\nhttps://sequelize.org/master/manual/assocs.html#:~:text=To%20do%20this%2C%20Sequelize%20provides,The%20BelongsToMany%20association\n\n- Affect the migrations to ref the tables\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackademymx%2Fnode-express-sql-boilerplate-with-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhackademymx%2Fnode-express-sql-boilerplate-with-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackademymx%2Fnode-express-sql-boilerplate-with-docker/lists"}