{"id":21038563,"url":"https://github.com/devonwintz/express-boilerplate","last_synced_at":"2025-12-31T00:25:43.501Z","repository":{"id":45646224,"uuid":"432317652","full_name":"devonwintz/express-boilerplate","owner":"devonwintz","description":"Boilerplate/starter project for quickly building RESTful APIs using Node.js, Express, and Mongoose.","archived":false,"fork":false,"pushed_at":"2021-12-02T23:01:47.000Z","size":4312,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-20T16:27:09.080Z","etag":null,"topics":["boilerplate-node","expressjs","mongoose","nodejs","restful-api"],"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/devonwintz.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":"2021-11-26T22:43:40.000Z","updated_at":"2021-12-02T23:01:51.000Z","dependencies_parsed_at":"2022-09-15T13:10:32.477Z","dependency_job_id":null,"html_url":"https://github.com/devonwintz/express-boilerplate","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/devonwintz%2Fexpress-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devonwintz%2Fexpress-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devonwintz%2Fexpress-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devonwintz%2Fexpress-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devonwintz","download_url":"https://codeload.github.com/devonwintz/express-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243482848,"owners_count":20297897,"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":["boilerplate-node","expressjs","mongoose","nodejs","restful-api"],"created_at":"2024-11-19T13:33:15.243Z","updated_at":"2025-12-31T00:25:43.451Z","avatar_url":"https://github.com/devonwintz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Express Boilerplate\nA boilerplate/starter project for quickly building RESTful APIs using Node.js, Express, and Mongoose. \u003cbr/\u003e\u003cbr/\u003e\n\n## Directory Structure\n## `app.js`\nThis is your server's main file. It references all required files that further reference to other files. Among the main elements in this file are the instantiation of `express`, `middlewares`, references to the `routes` and the `database connection`. \u003cbr/\u003e\u003cbr/\u003e\n\n## `.env`\nAll environment variables (configuration constants)are declared in this file. In this template, the database connection string is included. Simply replace `\u003cdb_username` with your mongodb username and `\u003cdb_name\u003e` with the name you wish to use for your collection.\u003cbr/\u003e **Do not include this file when pushing to your remote version control repo, such as Github. To ensure that this file is excluded when you push to your remote repo, add `.env` in your `.gitignore` file.** \u003cbr/\u003e\u003cbr/\u003e\n\n## `models` Subdirectory\nIn this subdirectory, you will define all models for your collections. A model is a data object schema. It describes the collection fields and their data types, along with other attributes. \u003cbr/\u003e\u003cbr/\u003e\n\n## `routes` Subdirectory\nThe models defined in the `models` subdirectory are consumed by the routes created in this folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevonwintz%2Fexpress-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevonwintz%2Fexpress-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevonwintz%2Fexpress-boilerplate/lists"}