{"id":22923071,"url":"https://github.com/khriztianmoreno/sequelize-101","last_synced_at":"2026-02-13T21:34:59.731Z","repository":{"id":36274201,"uuid":"135535796","full_name":"khriztianmoreno/sequelize-101","owner":"khriztianmoreno","description":"Code for my Sequelize 101 talk.","archived":false,"fork":false,"pushed_at":"2022-12-30T16:33:59.000Z","size":516,"stargazers_count":12,"open_issues_count":10,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-07T18:54:25.417Z","etag":null,"topics":["api-server","example-project","examples","express","nodejs","postgresql","sequelize"],"latest_commit_sha":null,"homepage":"https://slides.com/khriztianmoreno/sequelize","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/khriztianmoreno.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":"2018-05-31T05:27:00.000Z","updated_at":"2023-05-19T15:58:18.000Z","dependencies_parsed_at":"2023-01-17T00:02:12.164Z","dependency_job_id":null,"html_url":"https://github.com/khriztianmoreno/sequelize-101","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/khriztianmoreno/sequelize-101","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khriztianmoreno%2Fsequelize-101","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khriztianmoreno%2Fsequelize-101/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khriztianmoreno%2Fsequelize-101/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khriztianmoreno%2Fsequelize-101/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khriztianmoreno","download_url":"https://codeload.github.com/khriztianmoreno/sequelize-101/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khriztianmoreno%2Fsequelize-101/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29418581,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-server","example-project","examples","express","nodejs","postgresql","sequelize"],"created_at":"2024-12-14T08:14:17.454Z","updated_at":"2026-02-13T21:34:59.702Z","avatar_url":"https://github.com/khriztianmoreno.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sequelize 101\n\u003e Code for my Sequelize 101 talk.\n\nHello, and welcome! This tutorial covers the basics of CRUD operations and simple examples using the Node ORM Sequelize. We will use Express.js to build out an API, but the focus here is Sequelize. I will assume you have PostgreSQL installed on your machine, and that you're using Node version `^8.10`\n\n- Built with Node.js and Express\n\n## Express Router and Routes\n\n| Route           | HTTP Verb | Description                          |\n| --------------- | --------- | ------------------------------------ |\n| /api/users      | GET       | Get list of users                    |\n| /api/users      | POST      | Creates a new user                   |\n| /api/users/:id  | GET       | Get a single user                    |\n| /api/users/:id  | DELETE    | Deletes a user                       |\n| /api/users/me   | GET       | Get my info                          |\n\n## Getting Started\n\n### Prerequisites\n\n- [Git](https://git-scm.com/)\n- [Node.js and npm](nodejs.org) \n- [PostgreSQL](https://www.postgresql.org/) \n\n## Usage\n\n### Run basic examples\n\n#### SYNC Data Base\n1. Run `npm install` to install server dependencies.\n2. Run `npm run dev` to start the development server and sync db\n3. After the terminal shows: `info: Express server listening on 3000, in development mode` stop the demon\n\n#### Run Examples\n\n```bash\n# Move to example folder\n$ cd examples\n\n# Fill the database with the sample data\n$ node seed.js\n\n# Run any of the examples\nnode 1.js\n\nnode sum.js\n```\n\n### Workshop\nIf you want to do the workshop, in the [repo wiki](https://github.com/khriztianmoreno/sequelize-101/wiki) you can find it.\n\n\n### Developing\n\n1. Run `npm install` to install server dependencies.\n2. Run `npm run dev` to start the development server.\n3. Open a new tab of the terminal and run: `node example/seed.js`\n3. Open browser `http://localhost:3000/api/users`.\n\n\n## Contributors\n\n[Cristian Moreno](http://khriztianmoreno.com) - *FullStack Javascript Developer*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhriztianmoreno%2Fsequelize-101","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhriztianmoreno%2Fsequelize-101","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhriztianmoreno%2Fsequelize-101/lists"}