{"id":19684942,"url":"https://github.com/boolfalse/nesp-project","last_synced_at":"2026-06-17T10:32:00.966Z","repository":{"id":203926274,"uuid":"488780644","full_name":"boolfalse/nesp-project","owner":"boolfalse","description":"Node, Express, Sequelize, Postgres project boilerplate","archived":false,"fork":false,"pushed_at":"2022-05-05T00:30:38.000Z","size":1383,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-27T08:08:43.416Z","etag":null,"topics":[],"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/boolfalse.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}},"created_at":"2022-05-05T00:18:19.000Z","updated_at":"2023-10-27T08:26:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"8a089fa8-8826-48ad-a4e6-26a116767e41","html_url":"https://github.com/boolfalse/nesp-project","commit_stats":null,"previous_names":["boolfalse/nesp-project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/boolfalse/nesp-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boolfalse%2Fnesp-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boolfalse%2Fnesp-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boolfalse%2Fnesp-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boolfalse%2Fnesp-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boolfalse","download_url":"https://codeload.github.com/boolfalse/nesp-project/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boolfalse%2Fnesp-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34445179,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"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-11T18:19:24.354Z","updated_at":"2026-06-17T10:32:00.951Z","avatar_url":"https://github.com/boolfalse.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## NESP-project\n\nNode, Express, Sequelize, Postgres project\n\n---\n\n#### About:\n\n\u003e Blog-like API with following features:\n\u003e \n\u003e NodeJS\n\u003e Express\n\u003e Sequelize\n\u003e PostgreSQL\n\n#### Features:\n\n\u003e - JWT authentication\n\u003e - Migrations/Schema, Seeders, Models (Sequelize)\n\u003e - Models and Relationships, CRUDs\n\u003e - File Upload with Multer\n\u003e - Custom Middleware, Validations\n\u003e - Configs, Utilities, Controllers structure\n\n#### Requirements\n\n- NPM with NodeJS (or Nginx server) installed\n- PostgreSQL installed\n\n#### Installation:\n\n- Create DB\n\n- Run following commands:\n```\ngit clone git@github.com:boolfalse/nesp-project.git\ncd nesp-project/\nnpm i\n```\n\n- Create .env file inside your project root folder, and define required variables as described in `.env.example`\n\n- Run migrations and seeds\n```\nsequelize db:migrate:undo:all\nsequelize db:migrate\nsequelize db:seed:all\n\n# in one-line command\nsequelize db:migrate:undo:all; sequelize db:migrate; sequelize db:seed:all\n```\n\n- Run the app\n```\n# for development\nnpm run dev\n# for production\nnpm start\n```\n\n- [Optional] Use the exported `NESP-project.postman_collection.json` Postman API collection (v2.1) for testing the API.\n  Otherwise, use the API documentation (see below).\n\n#### Published API documentation:\n\n- [Postman Collection](https://documenter.getpostman.com/view/1747137/Uyxbq9Vy)\n\n#### Useful links:\n\n- [Creating user, database and adding access on PostgreSQL](https://medium.com/coding-blocks/creating-user-database-and-adding-access-on-postgresql-8bfcd2f4a91e)\n- [PostgreSQL Drop Database with Examples](https://phoenixnap.com/kb/postgresql-drop-database)\n- [express-useragent](https://www.npmjs.com/package/express-useragent)\n- [Sequelize upsert method - Tutorial with example JS code](https://sebhastian.com/sequelize-upsert/)\n- [sequelize.import is not a function](https://stackoverflow.com/questions/62917111/sequelize-import-is-not-a-function)\n- [Selecting a random record from Sequelize findAll](https://stackoverflow.com/questions/42146200/selecting-a-random-record-from-sequelize-findall)\n- [node.js sequelize: multiple 'where' query conditions](https://stackoverflow.com/questions/10807765/node-js-sequelize-multiple-where-query-conditions)\n- [Sequelize error when using \"where\" and \"in\" on a subarray](https://stackoverflow.com/questions/24920427/sequelize-error-when-using-where-and-in-on-a-subarray)\n- [Default value for created_at or updated_at isn't added when using underscored: true #10754](https://github.com/sequelize/sequelize/issues/10754)\n- [Add automatic createdAt and updatedAt timestamps in migration](https://stackoverflow.com/questions/50735578/add-automatic-createdat-and-updatedat-timestamps-in-migration)\n- [allowNull: false and defaultValue: Sequelize.NOW not populating field with default value. #645](https://github.com/sequelize/sequelize/issues/645)\n- [Nodejs sequelize bulk upsert](https://stackoverflow.com/questions/48124949/nodejs-sequelize-bulk-upsert)\n\n#### Author:\n\n- [BoolFalse](https://boolfalse.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboolfalse%2Fnesp-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboolfalse%2Fnesp-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboolfalse%2Fnesp-project/lists"}