{"id":14989738,"url":"https://github.com/jordanell/testing-with-sequelize","last_synced_at":"2025-04-12T00:32:05.955Z","repository":{"id":42360609,"uuid":"142073659","full_name":"jordanell/testing-with-sequelize","owner":"jordanell","description":"An example repository for how to test with the Sequelize ORM.","archived":false,"fork":false,"pushed_at":"2023-04-28T02:26:59.000Z","size":1280,"stargazers_count":31,"open_issues_count":8,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T20:51:12.983Z","etag":null,"topics":["chai","mocha","nodejs","sequelize"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jordanell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-07-23T21:58:08.000Z","updated_at":"2025-03-07T07:55:17.000Z","dependencies_parsed_at":"2024-09-24T15:58:48.932Z","dependency_job_id":"c932303f-31e9-45fb-9b24-129585323c22","html_url":"https://github.com/jordanell/testing-with-sequelize","commit_stats":{"total_commits":16,"total_committers":4,"mean_commits":4.0,"dds":0.625,"last_synced_commit":"626039c6b776f125edeffbdf396291ec9feccfc5"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordanell%2Ftesting-with-sequelize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordanell%2Ftesting-with-sequelize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordanell%2Ftesting-with-sequelize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordanell%2Ftesting-with-sequelize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jordanell","download_url":"https://codeload.github.com/jordanell/testing-with-sequelize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248501409,"owners_count":21114674,"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":["chai","mocha","nodejs","sequelize"],"created_at":"2024-09-24T14:18:50.892Z","updated_at":"2025-04-12T00:32:05.620Z","avatar_url":"https://github.com/jordanell.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# testing-with-sequelize\n\nAn example repository for how to test with the Sequelize ORM.\n\n## Development\n\nA quick guide to get a new development environment setup\n\n### Setup\n\n**Node**\n\n1. Install [nvm][] with:\n    ```bash\n    curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.7/install.sh | bash`.\n2. Install Node `8.11.2` with:\n    ```bash\n    nvm install 8.11.2\n    ```\n3. From the root directory of this project, run\n    ```bash\n    nvm use 8.11.2\n    ```\n4. Install NPM packages:\n    ```bash\n    npm install\n    ```\n    \n[nvm]: https://github.com/nvm-sh/nvm\n\n**Database**\n\n1. Install PostgreSQL on your local machine. Use Homebrew as below or go to the [Postgres Downloads](https://www.postgresql.org/download/) page.\n\n    ```bash\n    $ brew install postgresql\n    ```\n\n2. Start PostgreSQL and run on startup.\n\n    ```bash\n    $ brew services start postgresql\n    ```\n\n3. Ensure a `root` user exists on PostgreSQL with no password:\n\n    ```console\n    $ psql --dbname=postgres\n    postgres=# CREATE USER root;\n    postgres=# ALTER USER root WITH SUPERUSER;\n    ```\n\n4. Create the database by running:\n\n    ```bash\n    $ NODE_ENV=test npm run db:create\n    ```\n\n### Testing\n\nRun the test suite:\n\n```bash\n$ npm run test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjordanell%2Ftesting-with-sequelize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjordanell%2Ftesting-with-sequelize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjordanell%2Ftesting-with-sequelize/lists"}