{"id":20205260,"url":"https://github.com/hotslab/nestjs-mongo-rabbitmq","last_synced_at":"2026-06-11T07:31:43.306Z","repository":{"id":229941849,"uuid":"777440310","full_name":"hotslab/nestjs-mongo-rabbitmq","owner":"hotslab","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-27T03:20:23.000Z","size":540,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-03T09:42:03.960Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/hotslab.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-25T21:18:50.000Z","updated_at":"2024-03-25T21:24:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"61363457-28c1-41c3-aad1-923829a22dc4","html_url":"https://github.com/hotslab/nestjs-mongo-rabbitmq","commit_stats":null,"previous_names":["hotslab/nestjs-mongo-rabbitmq"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hotslab/nestjs-mongo-rabbitmq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotslab%2Fnestjs-mongo-rabbitmq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotslab%2Fnestjs-mongo-rabbitmq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotslab%2Fnestjs-mongo-rabbitmq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotslab%2Fnestjs-mongo-rabbitmq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hotslab","download_url":"https://codeload.github.com/hotslab/nestjs-mongo-rabbitmq/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotslab%2Fnestjs-mongo-rabbitmq/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34188272,"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-11T02:00:06.485Z","response_time":57,"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-14T05:16:39.381Z","updated_at":"2026-06-11T07:31:43.301Z","avatar_url":"https://github.com/hotslab.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NESTJS, MONGODB \u0026 RABBITMQ API\n\n\n\n## Description\n\n#### [Nest](https://github.com/nestjs/nest) framework TypeScript API project. It is built with the following technologies:\n\n1. Nestjs\n2. Docker and Docker-compose - (optional)\n3. MongoDB\n4. RabbitMq\n\n## Installation\n\n- Clone or unpack the folder to folder of your choice i.e.\n```bash\n$ git clone git@github.com:hotslab/nestjs-mongo-rabbitmq.git\n# OR\n$ unzip nestjs-mongo-rabbitmq-master.zip\n```\n- Go in to the cloned or unzipped folder\n```bash\n$ cd nestjs-mongo-rabbitmq-master\n# OR \n$ cd nestjs-mongo-rabbitmq\n```\n- Create an `.env` file to use for the application from the `env.example` file:\n```bash\n$ cp .env.example .env\n```\n- Ensure you have installed docker and docker-compose installed if you do not have locally installed instances of **mongodb** and **rabbitmq**, or if you want to use separate instances from your local ones.\n- If you want to use the docker versions whilst separating the local instances, please do ensure the **ports** numbers do not clash by changing the `docker-compose.yml` file port numbers, as well as the `.env` file for the mongodb and rabbitmq port numbers.\n- To run the docker versions please run the following commands:\n```bash\n# create the persistent storage volumes for both mongodb and rabbitmq\n$ mkdir mongodb rabbitmq\n\n# build the docker containers\n$ docker-compose build\n\n# start the docker services\n$ docker-compose up\n```\n- Lastly install the `node_modules` to run the app:\n```bash\n$ npm install\n```\n\n## Running the app\n\n```bash\n# development\n$ npm run start\n\n# watch mode\n$ npm run start:dev\n\n# production mode\n$ npm run build\n$ npm run start:prod\n```\n\n## Test\n\n```bash\n# eslint\n$ npm run lint\n\n# unit tests\n$ npm run test\n```\n\n## API\n\n#### 1. POST api/users\n##### Content-Type \n- multipart/form-data\n##### parameters :\n- **firstName** - string\n- **lastName** - string\n- **email** -string\n- **password** - string\n- **avatar** - avatar image to upload - `jpg|jpeg|png|webp`\n\n#### 2. GET api/users/{userId}\n##### Content-Type \n-  application/json\n##### parameters :\n- **userId** - MongoDb ObjectId() in string format\n\n\n\n#### 3. GET api/users/{userId}/avatar\n##### Content-Type \n-  application/json\n##### parameters :\n- **userId** - MongoDb ObjectId() in string format\n\n\n#### 4. DELETE api/users/{userId}/avatar\n##### Content-Type \n-  application/json\n##### parameters :\n- **userId** - MongoDb ObjectId() in string format\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhotslab%2Fnestjs-mongo-rabbitmq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhotslab%2Fnestjs-mongo-rabbitmq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhotslab%2Fnestjs-mongo-rabbitmq/lists"}