{"id":20929671,"url":"https://github.com/borgert-inc/express-api-startkit","last_synced_at":"2025-05-13T18:32:35.463Z","repository":{"id":42237078,"uuid":"136514576","full_name":"borgert-inc/express-api-startkit","owner":"borgert-inc","description":"API Startkit for node - express 4 + mongodb + eslint","archived":false,"fork":false,"pushed_at":"2023-03-04T02:42:13.000Z","size":279,"stargazers_count":13,"open_issues_count":8,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T06:22:18.256Z","etag":null,"topics":["api","api-node","boilerplate","eslint","express","husky","mongodb","mongoose","nodejs"],"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/borgert-inc.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-06-07T18:12:17.000Z","updated_at":"2023-10-31T07:50:49.000Z","dependencies_parsed_at":"2023-02-18T04:31:04.897Z","dependency_job_id":null,"html_url":"https://github.com/borgert-inc/express-api-startkit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borgert-inc%2Fexpress-api-startkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borgert-inc%2Fexpress-api-startkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borgert-inc%2Fexpress-api-startkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borgert-inc%2Fexpress-api-startkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borgert-inc","download_url":"https://codeload.github.com/borgert-inc/express-api-startkit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254003413,"owners_count":21997885,"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":["api","api-node","boilerplate","eslint","express","husky","mongodb","mongoose","nodejs"],"created_at":"2024-11-18T21:22:44.454Z","updated_at":"2025-05-13T18:32:35.068Z","avatar_url":"https://github.com/borgert-inc.png","language":"JavaScript","readme":"\n\u003cdiv style=\"text-align: center;\"\u003e\n\t\u003cimg src=\"http://i.imgur.com/ogUP6GJ.png\" alt=\"Express API StartKit\"\u003e\n    \u003cp\u003e\n        Express API StartKit\n    \u003c/p\u003e\n    \u003cbr\u003e\n\u003c/div\u003e\n\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/a5bbca0e074745f4813552055c867b5d)](https://www.codacy.com/gh/borgert-inc/express-api-startkit/dashboard?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=borgert-inc/express-api-startkit\u0026amp;utm_campaign=Badge_Grade)\n\n---\n\n#### Nodemon\n\u003e npm install -g nodemon\n\n#### Install packages\n\u003e npm install\n\n#### Copy .ENV\n\u003e cp .env-example .env\n\n#### Configure .env\n\u003e MONGO_DB=mongodb://localhost:27017/mongo_db\n\n#### Development (With nodemon watch .js)\n\u003e npm run dev\n\n\u003e http://localhost:3000\n\n#### Eslint\n\u003e npm run eslint\n\n#### Slack\n  - Get your legacy token https://api.slack.com/legacy/custom-integrations/legacy-tokens\n  - Documentation and methods for slack https://api.slack.com/methods\n\n#### Insomnia\nUse Insomnia to test the API endpoints, use the insomnia.json file that already has all the necessary endpoints. [Download Insomnia](https://insomnia.rest/).\n\n#### Node Best Practices\n\u003e https://github.com/goldbergyoni/nodebestpractices\n\n#### Routes\n\n| Module    | Action    | Method    | Endpoint |\n| :-----    | :------   | :-------  | :---------------------------------------------------------- | \n| Register  | Create    | POST      | http://localhost:3000/register |\n| Login     | Login     | POST      | http://localhost:3000/auth/login |\n| Logout    | Logout    | POST      | http://localhost:3000/auth/logout |\n| Users     | All       | GET       | http://localhost:3000/users | \n| Users     | Create    | POST      | http://localhost:3000/users |\n| Users     | Update    | PUT       | http://localhost:3000/users/:id |\n| Users     | Show      | GET       | http://localhost:3000/users/:id |\n| Users     | Delete    | DELETE    | http://localhost:3000/users/:id |\n\n#### Packages\n\n| Package                   | Description                                                |\n| :------------------------- | :---------------------------------------------------------- | \n| bcryptjs                  | Encrypt password  |\n| debug                     | For Debug    |\n| dotenv-extended           | To work files .env    |\n| eslint                    | Code standard    |\n| express                   | Framework express    |\n| consign                   | For load modules    |\n| http-errors               | Controllers http errors     |\n| method-override           | Overrise methods in express     |\n| moment                    | To work with dates     |\n| mongoose                  | ODM for database MongoDB    |\n| mongoose-paginate-v2      | Paginate for mongoose    |\n| mongoose-validator        | Validator inputs for mongoose    |\n| winston                   | Logs generator    |\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborgert-inc%2Fexpress-api-startkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborgert-inc%2Fexpress-api-startkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborgert-inc%2Fexpress-api-startkit/lists"}