{"id":15170466,"url":"https://github.com/abhishekak411/baxturenodeapi","last_synced_at":"2026-02-04T07:09:51.731Z","repository":{"id":227331363,"uuid":"770988680","full_name":"AbhishekAK411/BaxtureNodeAPI","owner":"AbhishekAK411","description":"Implementing a CRUD backend with an in-memory database involves creating basic data operations (Create, Read, Update, Delete) and storing data in RAM, ensuring fast access and manipulation.","archived":false,"fork":false,"pushed_at":"2024-03-14T20:49:08.000Z","size":127,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-17T01:37:26.798Z","etag":null,"topics":["chai","dotenv","express","mocha","mongodb-memory-server","mongoose","nodejs","nodemon","ts-mocha","ts-node","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/AbhishekAK411.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-12T13:50:24.000Z","updated_at":"2024-03-14T21:04:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"2b53ac44-7ce1-41e7-a9ae-15894fcd430b","html_url":"https://github.com/AbhishekAK411/BaxtureNodeAPI","commit_stats":null,"previous_names":["abhishekak411/baxturenodeapi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbhishekAK411%2FBaxtureNodeAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbhishekAK411%2FBaxtureNodeAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbhishekAK411%2FBaxtureNodeAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbhishekAK411%2FBaxtureNodeAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AbhishekAK411","download_url":"https://codeload.github.com/AbhishekAK411/BaxtureNodeAPI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254092836,"owners_count":22013294,"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":["chai","dotenv","express","mocha","mongodb-memory-server","mongoose","nodejs","nodemon","ts-mocha","ts-node","typescript"],"created_at":"2024-09-27T08:03:04.231Z","updated_at":"2026-02-04T07:09:51.675Z","avatar_url":"https://github.com/AbhishekAK411.png","language":"TypeScript","readme":"\n# Baxture Node API\n\nImplementing CRUD Backend infrastructure with underlying in-memory database.\n\n## Description\n\nImplementing a CRUD(Create, Read, Update and Delete) backend infrastructure involves creating the fundemental operations necessary for managing data within an application.\n\nUsing an in-memory database(mongodb-memory-server) as the underlying storage mechanism means that the data is stored and manipulated within the computer's RAM, rather than being persisted to disk.\n\nIn summary, implementing a CRUD backend infrastructure with an in-memory database involves building the necessary functionality to manage data within an application, leveraging the speed and efficiency of storing data in memory for rapid access and manipulation.\n\n\n## Acknowledgements\n\n - [NodeJS LTS Release v18.19.1 (Hydrogen)](https://nodejs.org/dist/v18.19.1/docs/api/)\n - [Typescript LTS Release v5.4.2](https://www.typescriptlang.org/download)\n\n\n\n## Authors\n\n- [@AbhishekAK411](https://github.com/AbhishekAK411)\n\n\n## Badges\n\n\u003cdiv style=\"display: flex;\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/npm-CB3837?style=for-the-badge\u0026logo=npm\u0026logoColor=white\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/JavaScript-323330?style=for-the-badge\u0026logo=javascript\u0026logoColor=F7DF1E\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge\u0026logo=typescript\u0026logoColor=white\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/ts--node-3178C6?style=for-the-badge\u0026logo=ts-node\u0026logoColor=white\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Node%20js-339933?style=for-the-badge\u0026logo=nodedotjs\u0026logoColor=white\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Mocha-8D6748?style=for-the-badge\u0026logo=Mocha\u0026logoColor=white\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/chai-A30701?style=for-the-badge\u0026logo=chai\u0026logoColor=white\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/MongoDB-4EA94B?style=for-the-badge\u0026logo=mongodb\u0026logoColor=white\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/axios-671ddf?\u0026style=for-the-badge\u0026logo=axios\u0026logoColor=white\"\u003e\n\u003c/div\u003e\n\n## Environment Variables\n\nTo run this project, you will need to add the following environment variables to your .env file\n\n`PORT = 4000`\n\nA .env.example is provided as well to imitate the .env file.\n\n\n\n## Installation\n\nNavigate to app directory\n\n```bash\n  cd my-project\n```\n\nRun install command for node_modules:\n\n```bash\n  npm install\n```\n\nFor Development:\n\n```bash\n  npm run start:dev\n```\n\nFor Build:\n\n```bash\n  npm run build\n```\n\nFor Production:\n\n```bash\n  npm run start:prod\n```\n\nFor Testing:\n\n```bash\n  npm test\n```\n\nFor Load Balancer:\n\n```bash\n  npm run start:multi\n```\n## API Reference\n\n#### Get all users\n\n```http\n  GET /api/users\n```\n\n| Parameter | Type     | Description                |\n| :-------- | :------- | :------------------------- |\n| `No Parameters` | `NA` | `NA` |\n\n#### Get a user\n\n```http\n  GET /api/users/{userId}\n```\n\n| Parameter | Type     | Description                |\n| :-------- | :------- | :------------------------- |\n| `UserId` | `string` | **Required** |\n\n#### Create a user\n\n```http\n  POST /api/users\n```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `Username`      | `string` | **Required** |\n| `Age`      | `number` | **Required** |\n| `hobbies`      | `string[] or Array\u003cstring\u003e` | **Required** |\n\n#### Update a user\n\n```http\n  PUT /api/users/{userId}\n```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `userId`      | `string` | **Required** |\n\n#### Delete a user\n\n```http\n  DELETE /api/users/{userId}\n```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `userId`      | `string` | **Required** |\n\n\n\n\n## Running Tests\n\nTo run tests, run the following command\n\n```bash\n  npm run test\n```\n![App Screenshot](https://github.com/AbhishekAK411/BaxtureNodeAPI/blob/master/app/tests/baxtureImg1.JPG?raw=true)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhishekak411%2Fbaxturenodeapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabhishekak411%2Fbaxturenodeapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhishekak411%2Fbaxturenodeapi/lists"}