{"id":19273308,"url":"https://github.com/tranquangvu/expressjs-api-example","last_synced_at":"2025-04-21T22:32:55.475Z","repository":{"id":54397130,"uuid":"312228762","full_name":"tranquangvu/expressjs-api-example","owner":"tranquangvu","description":"Sample for building RESTful APIs using Node.js, Express and MongoDB","archived":false,"fork":false,"pushed_at":"2021-01-04T09:52:10.000Z","size":53,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-03-27T10:32:18.983Z","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/tranquangvu.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":"2020-11-12T09:32:41.000Z","updated_at":"2024-03-27T10:32:18.984Z","dependencies_parsed_at":"2022-08-13T14:21:00.883Z","dependency_job_id":null,"html_url":"https://github.com/tranquangvu/expressjs-api-example","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/tranquangvu%2Fexpressjs-api-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tranquangvu%2Fexpressjs-api-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tranquangvu%2Fexpressjs-api-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tranquangvu%2Fexpressjs-api-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tranquangvu","download_url":"https://codeload.github.com/tranquangvu/expressjs-api-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223881800,"owners_count":17219268,"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":[],"created_at":"2024-11-09T20:42:05.991Z","updated_at":"2024-11-09T20:42:06.623Z","avatar_url":"https://github.com/tranquangvu.png","language":"JavaScript","readme":"# Expressjs + MongoDB API Example\nStarter Project for building RESTful APIs using Node.js, Express and MongoDB\n\n## Features\n - ES2017 latest features like Async/Await\n - CORS enabled\n - Uses [yarn](https://yarnpkg.com)\n - Express + MongoDB ([Mongoose](http://mongoosejs.com/))\n - Uses [helmet](https://github.com/helmetjs/helmet) to set some HTTP headers for security\n - Load environment variables from .env files with [dotenv](https://github.com/rolodato/dotenv-safe)\n - Request validation with [joi](https://github.com/hapijs/joi)\n - Gzip compression with [compression](https://github.com/expressjs/compression)\n - Linting with [eslint](http://eslint.org)\n - Git hooks with [husky](https://github.com/typicode/husky)\n - Logging with [morgan](https://github.com/expressjs/morgan)\n\n## Getting Started\n\n#### Install dependencies:\n\n```bash\nyarn\n```\n\n#### Set environment variables:\n\n```bash\ncp .env.example .env\n```\n\n## Running Locally\n\n```bash\nyarn dev\n```\n\n## Running in Production\n\n```bash\nyarn start\n```\n\n## Lint\n\n```bash\n# lint code with ESLint\nyarn lint\n\n# try to fix ESLint errors\nyarn lint:fix\n\n# lint and watch for changes\nyarn lint:watch\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftranquangvu%2Fexpressjs-api-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftranquangvu%2Fexpressjs-api-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftranquangvu%2Fexpressjs-api-example/lists"}