{"id":29580216,"url":"https://github.com/raineggplant/express-mongoose-template","last_synced_at":"2025-07-19T18:30:22.270Z","repository":{"id":35833279,"uuid":"198008863","full_name":"RainEggplant/express-mongoose-template","owner":"RainEggplant","description":"A template Node.js project with express, mongoose and TypeScript.","archived":false,"fork":false,"pushed_at":"2023-01-23T23:42:56.000Z","size":3905,"stargazers_count":12,"open_issues_count":12,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-15T09:32:27.383Z","etag":null,"topics":["express","mongoose","nodejs","template","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/RainEggplant.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":"2019-07-21T03:46:21.000Z","updated_at":"2025-06-30T13:10:38.000Z","dependencies_parsed_at":"2023-02-13T05:00:30.777Z","dependency_job_id":null,"html_url":"https://github.com/RainEggplant/express-mongoose-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/RainEggplant/express-mongoose-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RainEggplant%2Fexpress-mongoose-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RainEggplant%2Fexpress-mongoose-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RainEggplant%2Fexpress-mongoose-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RainEggplant%2Fexpress-mongoose-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RainEggplant","download_url":"https://codeload.github.com/RainEggplant/express-mongoose-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RainEggplant%2Fexpress-mongoose-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265985525,"owners_count":23859904,"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":["express","mongoose","nodejs","template","typescript"],"created_at":"2025-07-19T18:30:19.346Z","updated_at":"2025-07-19T18:30:22.228Z","avatar_url":"https://github.com/RainEggplant.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# express-mongoose-template\n\n![](https://github.com/RainEggplant/express-mongoose-template/workflows/CI/badge.svg)\n\n## Quick Start\n\nGet started developing...\n\nYou need to create a `.env` file and configure your database at first, then set up the database and start developing / testing.\n\n```shell\n# install deps\nyarn install\n\n# run in development mode\nyarn dev\n\n# run tests\nyarn test\n\n# check code styles\nyarn lint\n\n# check type errors\nyarn typecheck\n```\n\n---\n\n## Install Dependencies\n\nInstall all package dependencies (one time operation)\n\n```shell\nyarn install\n```\n\n## Run It\n\n#### Run in _development_ mode:\n\nRuns the application is development mode. Should not be used in production\n\n```shell\nyarn dev\n```\n\nor debug it\n\n```shell\nyarn dev:debug\n```\n\n#### Run in _production_ mode:\n\nCompiles the application and starts it in production mode\n\n```shell\nyarn compile\nyarn start\n```\n\n## Test It\n\nRun the Mocha unit tests\n\n```shell\nyarn test\n```\n\nor debug them\n\n```shell\nyarn test:debug\n```\n\nRun the tests and output a JUnit-style XML test results file at `./test/test-results.xml`\n\n```shell\nyarn test:junit\n```\n\n## Try It\n\nMake sure the database is running\n\n- Open you're browser to [http://localhost:3000](http://localhost:3000)\n- Invoke the `/examples` endpoint\n  ```shell\n  curl http://localhost:3000/api/v1/examples\n  ```\n\n## Debug It\n\n#### Debug the server:\n\n```\nyarn dev:debug\n```\n\n#### Debug Tests\n\n```\nyarn test:debug\n```\n\n#### Debug with VSCode\n\nUse the configurations in `.vscode/launch.json` file\n\n## Lint It\n\nCheck types and fix all linter errors\n\nCheck code styles\n\n```shell\nyarn lint\nyarn lint:fix  # fix linter errors as well\n```\n\nCheck type error\n\n```\nyarn typecheck\n```\n\n---\n\n## About\n\nThis template project was originally generated by [cdimascio/generator-express-no-stress-typescript](https://github.com/cdimascio/generator-express-no-stress-typescript), and added with `mongoose` and several DevOps tools (`Dependabot` and `GitHub Actions`).\n\n### What you get!\n\n- [Typescript](https://www.typescriptlang.org/) - Typescript is a typed superset of JavaScript that compiles to plain JavaScript\n- [Express.js](https://www.expressjs.com) - Fast, unopinionated, minimalist web framework for Node.js\n- [Mongoose](https://github.com/motdotla/dotenv) - Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment.\n- [Pino](https://github.com/pinojs/pino) - Extremely fast node.js logger, inspired by Bunyan. It also includes a shell utility to pretty-print its log files\n- [dotenv](https://github.com/motdotla/dotenv) - Loads environment variables from .env for nodejs projects\n- [Swagger](http://swagger.io/) - is a simple yet powerful representation of your RESTful API.\n- [SwaggerUI](http://swagger.io/) - dynamically generate beautiful documentation and sandbox from a Swagger-compliant API\n- [express-openapi-validator](https://github.com/cdimascio/express-openapi-validator) - An OpenApi validator for ExpressJS that automatically validates API requests using an OpenAPI 3.x specification\n\nMore information [here](https://github.com/cdimascio/generator-express-no-stress-typescript#what-you-get)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraineggplant%2Fexpress-mongoose-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraineggplant%2Fexpress-mongoose-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraineggplant%2Fexpress-mongoose-template/lists"}