{"id":19556375,"url":"https://github.com/ibrsec/backend-stockapi","last_synced_at":"2026-05-02T08:34:02.694Z","repository":{"id":252371689,"uuid":"840070816","full_name":"ibrsec/backend-stockapi","owner":"ibrsec","description":"Backend of the Stock App","archived":false,"fork":false,"pushed_at":"2024-09-09T13:26:34.000Z","size":4580,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T07:44:16.638Z","etag":null,"topics":["express","jwt","mongodb"],"latest_commit_sha":null,"homepage":"https://backend-stockapi-express.vercel.app/documents/swagger/","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/ibrsec.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-08-08T23:09:02.000Z","updated_at":"2024-09-09T13:26:37.000Z","dependencies_parsed_at":"2024-09-09T16:08:59.793Z","dependency_job_id":null,"html_url":"https://github.com/ibrsec/backend-stockapi","commit_stats":null,"previous_names":["ibrsec/backend-stockapi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ibrsec/backend-stockapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrsec%2Fbackend-stockapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrsec%2Fbackend-stockapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrsec%2Fbackend-stockapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrsec%2Fbackend-stockapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibrsec","download_url":"https://codeload.github.com/ibrsec/backend-stockapi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrsec%2Fbackend-stockapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32528263,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"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":["express","jwt","mongodb"],"created_at":"2024-11-11T04:37:42.778Z","updated_at":"2026-05-02T08:34:02.675Z","avatar_url":"https://github.com/ibrsec.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":" \u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n \n \n\u003c!-- PROJECT LOGO --\u003e\n\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\n   \n  \u003ca href=\"https://github.com/ibrsec/backend-stockapi\"\u003e\n    \u003cimg src=\"./logo.png\" alt=\"Logo\" width=\"250\"   \u003e\n  \u003c/a\u003e\n\n  \u003ch3 align=\"center\"\u003eStock App Backend\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e \n    An awesome Backend project of Stock App\n    \u003c!-- \u003ca href=\"https://github.com/ibrsec/stock-app\"\u003e\u003cstrong\u003eExplore the docs »\u003c/strong\u003e\u003c/a\u003e --\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://backend-stockapi-express.vercel.app/documents/swagger/\"\u003eBackend Swagger\u003c/a\u003e\n    ·\n    \u003ca href=\"https://backend-stockapi-express.vercel.app/documents/redoc/\"\u003eBackend Redoc\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/ibrsec/stockapp-frontend-selfservice\"\u003eFrontend Repo\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/ibrsec/backend-stockapi/issues\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/ibrsec/backend-stockapi/issues\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\u003cdetails\u003e\n  \u003csummary\u003e📎 Table of Contents 📎 \u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\u003ca href=\"#about-the-project\"\u003eAbout The Project\u003c/a\u003e\u003c/li\u003e\n     \u003c!-- \u003cli\u003e\u003ca href=\"#figma\"\u003eFigma\u003c/a\u003e\u003c/li\u003e --\u003e\n     \u003cli\u003e\u003ca href=\"#overview\"\u003eOverview\u003c/a\u003e\u003c/li\u003e\n     \u003cli\u003e\u003ca href=\"#quick-setup\"\u003eQuick Setup\u003c/a\u003e\u003c/li\u003e\n     \u003cli\u003e\u003ca href=\"#directory-structure\"\u003eDirectory structure\u003c/a\u003e\u003c/li\u003e\n     \u003cli\u003e\u003ca href=\"#built-with\"\u003eBuilt With\u003c/a\u003e\u003c/li\u003e\n    \u003c!-- \u003cli\u003e\n      \u003ca href=\"#getting-started\"\u003eGetting Started\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#prerequisites\"\u003ePrerequisites\u003c/a\u003e\u003c/li\u003e\n        \u003cli\u003e\u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#roadmap\"\u003eRoadmap\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contact\"\u003eContact\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#acknowledgments\"\u003eAcknowledgments\u003c/a\u003e\u003c/li\u003e --\u003e\n\n    \n  \u003c/ol\u003e\n\u003c/details\u003e\n\n\n\n\n\n---\n\n\u003c!-- ABOUT THE PROJECT --\u003e\n\u003ca name=\"about-the-project\"\u003e\u003c/a\u003e\n## ℹ️ About The Project\n\n\u003cb\u003eERD:\u003c/b\u003e\n[![stock-app-erd](./erdStockAPI.png)](https://backend-stockapi.onrender.com/)\n---\n\n\n\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n---\n\n\u003c!-- ## Figma \n\n\u003ca href=\"https://www.figma.com/file/ePyCHKsx2ODB32uLgyUEEd/bootstrap-home-page?type=design\u0026node-id=0%3A1\u0026mode=design\u0026t=edDzadCB9Ev5FS1a-1\"\u003eFigma Link\u003c/a\u003e  \n\n  \u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n\n\n--- --\u003e\n\u003ca name=\"overview\"\u003e\u003c/a\u003e\n## 👀 Overview\n\n📦 A Backend of Stock App Project\u003c/br\u003e\n🏀 [Frontend Repo](https://github.com/ibrsec/stockapp-frontend-selfservice) \u003c/br\u003e\u003c/br\u003e\n\n\u003cb\u003e🎯 Express.js Framework:\u003c/b\u003e Developed a robust RESTful API with Express.js for secure and efficient stock data management.\n\n\u003cb\u003e🔒 Authentication \u0026 Authorization:\u003c/b\u003e Implemented Simple Token, JWT for secure user authentication.\n\n\u003cb\u003e📄 API Documentation:\u003c/b\u003e Created clear API docs with Swagger and Redoc for easy testing and understanding.\n\n\u003cb\u003e📊 Database Management:\u003c/b\u003e Utilized MongoDB and Mongoose for consistent data modeling and querying.\n\n\u003cb\u003e🔄 CRUD Operations:\u003c/b\u003e Built full CRUD functionality for products, sales, purchases, firms, and brands.\n\n\u003cb\u003e🛠 Middleware \u0026 Error Handling:\u003c/b\u003e Added custom middleware for validation and consistent error handling.\n\n\u003cb\u003e🌐 Scalable Deployment:\u003c/b\u003e Deployed on Render platform for high availability.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n\u003ca name=\"quick-setup\"\u003e\u003c/a\u003e\n## 🛫 Quick Setup\n\n```sh\n# clone the project\ngit clone https://github.com/ibrsec/backend-stockapi.git\n\n# enter the project directory\ncd backend-stockapi\n\n# install dependency\nnpm install \n\n# develop\nnpm run start \n\n```\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n\u003c!-- ## 🐞 Debug\n\n![stock-app.gif](/stock-app.gif) --\u003e\n\n\n\n\n\n\n\n\n\u003ca name=\"directory-structure\"\u003e\u003c/a\u003e\n## 📂 Directory structure \n\n```diff\n+ backend-stockapi  (folder)     \n+     |---src (folder) \n      |     |---config (folder)       \n      |     |           \n      |     |---controllers (folder) \n      |     |    \n      |     |---errors (folder) \n      |     |    \n      |     |---middlewares (folder)      \n      |     |          \n      |     |---helpers (folder)      \n      |     |          \n      |     |---models (folder)           \n      |     |          \n      |     └---routes (folder)  \n      |      \n      |----.env\n      |----.gitignore\n      |----index.js\n      |----package.json\n      |----package-lock.json\n      |----swaggerAutogen.js\n      |----vercel.json\n      └----readme.md \n```\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n---\n\n\u003ca name=\"built-with\"\u003e\u003c/a\u003e\n### 🏗️ Built With\n\n\n\u003c!-- https://dev.to/envoy_/150-badges-for-github-pnk  search skills--\u003e\n\n \u003c!-- \u003cimg src=\"https://img.shields.io/badge/HTML-239120?style=for-the-badge\u0026logo=html5\u0026logoColor=white\"\u003e --\u003e\n \u003c!-- \u003cimg src=\"https://img.shields.io/badge/CSS-239120?\u0026style=for-the-badge\u0026logo=css3\u0026logoColor=white\u0026color=red\"\u003e  --\u003e\n \u003cimg src=\"https://img.shields.io/badge/JavaScript-F7DF1E?style=for-the-badge\u0026logo=javascript\u0026logoColor=black\"\u003e \n \u003c!-- \u003cimg src=\"https://img.shields.io/badge/Bootstrap-563D7C?style=for-the-badge\u0026logo=bootstrap\u0026logoColor=white\"\u003e  --\u003e\n \u003c!-- \u003cimg src=\"https://img.shields.io/badge/Sass-CC6699?style=for-the-badge\u0026logo=sass\u0026logoColor=white\"\u003e  --\u003e\n \u003c!-- \u003cimg src=\"https://img.shields.io/badge/Vite-AB4BFE?style=for-the-badge\u0026logo=vite\u0026logoColor=FFC920\"\u003e  --\u003e\n \u003c!-- \u003cimg src=\"https://img.shields.io/badge/React-20232A?style=for-the-badge\u0026logo=react\u0026logoColor=61DAFB\"\u003e  --\u003e\n \u003c!-- \u003cimg src=\"https://img.shields.io/badge/Next-20232A?style=for-the-badge\u0026logo=next\u0026logoColor=61DAFB\"\u003e  --\u003e\n \u003c!-- \u003cimg src=\"https://img.shields.io/badge/React_Router-CA4245?style=for-the-badge\u0026logo=react-router\u0026logoColor=white\"\u003e  --\u003e\n \u003c!-- \u003cimg src=\"https://img.shields.io/badge/App-Router-CA4245?style=for-the-badge\u0026logo=app-router\u0026logoColor=white\"\u003e  --\u003e\n\n  \u003c!-- \u003cimg src=\"https://img.shields.io/badge/Redux-593D88?style=for-the-badge\u0026logo=redux\u0026logoColor=white\"\u003e   --\u003e\n \u003c!-- \u003cimg src=\"https://img.shields.io/badge/Redux Toolkit-593D88?style=for-the-badge\u0026logo=redux\u0026logoColor=white\"\u003e  --\u003e\n \u003c!-- \u003cimg src=\"https://img.shields.io/badge/Redux--Persist -593D88?style=for-the-badge\u0026logo=redux\u0026logoColor=white\"\u003e  --\u003e\n \u003c!-- \u003cimg src=\"https://img.shields.io/badge/Context API-593D88?style=for-the-badge\u0026logo=context\u0026logoColor=white\"\u003e  --\u003e\n\n\n \u003c!-- \u003cimg src=\"https://img.shields.io/badge/Axios-593D88?style=for-the-badge\u0026logo=axios\u0026logoColor=white\"\u003e  --\u003e\n\n \u003c!-- \u003cimg src=\"https://img.shields.io/badge/Tailwind_CSS-38B2AC?style=for-the-badge\u0026logo=tailwind-css\u0026logoColor=white\"\u003e  --\u003e\n\n \u003c!-- \u003cimg src=\"https://img.shields.io/badge/Material--UI-0081CB?style=for-the-badge\u0026logo=material-ui\u0026logoColor=white\"\u003e  --\u003e\n \u003c!-- \u003cimg src=\"https://img.shields.io/badge/Tailwind_CSS-38B2AC?style=for-the-badge\u0026logo=tailwind-css\u0026logoColor=white\"\u003e  --\u003e\n \u003c!-- \u003cimg src=\"https://img.shields.io/badge/Formik-172B4D?style=for-the-badge\u0026logo=formik\u0026logoColor=white\"\u003e  --\u003e\n \u003c!-- \u003cimg src=\"https://img.shields.io/badge/Yup-172B4D?style=for-the-badge\u0026logo=yup\u0026logoColor=white\"\u003e  --\u003e\n \u003c!-- \u003cimg src=\"https://img.shields.io/badge/Toastify-45CC11?style=for-the-badge\u0026logo=toastify-ui\u0026logoColor=white\"\u003e  --\u003e\n \u003cimg src=\"https://img.shields.io/badge/Node.js-43853D?style=for-the-badge\u0026logo=node.js\u0026logoColor=white\"\u003e \n \u003cimg src=\"https://img.shields.io/badge/Express.js-404D59?style=for-the-badge\"\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/Mongoose-4EA94B?style=for-the-badge\u0026logo=mongoose\u0026logoColor=white\"\u003e \n \u003c!-- \u003cimg src=\"https://img.shields.io/badge/json%20web%20tokens-323330?style=for-the-badge\u0026logo=json-web-tokens\u0026logoColor=pink\"\u003e  --\u003e\n \u003cimg src=\"https://img.shields.io/badge/jwt%20token-323330?style=for-the-badge\u0026logo=json-web-tokens\u0026logoColor=pink\"\u003e\n \u003cimg src=\"https://img.shields.io/badge/Token%20authentication-000000?style=for-the-badge\u0026logo=token\u0026logoColor=white\"\u003e \n\n\u003c!-- swagger --\u003e\n \u003cimg src=\"https://img.shields.io/badge/Swagger%20Autogen-4EA94B?style=for-the-badge\u0026logo=swagger\u0026logoColor=white\"\u003e \n \u003cimg src=\"https://img.shields.io/badge/Swagger%20ui%20express-4EA94B?style=for-the-badge\u0026logo=swagger\u0026logoColor=white\"\u003e \n \u003cimg src=\"https://img.shields.io/badge/Redoc-4EA94B?style=for-the-badge\u0026logo=redoc\u0026logoColor=white\"\u003e \n\n\n \u003cimg src=\"https://img.shields.io/badge/Morgan-000000?style=for-the-badge\u0026logo=morgan\u0026logoColor=white\"\u003e \n \u003cimg src=\"https://img.shields.io/badge/Express%20async%20errors-000000?style=for-the-badge\u0026logo=expressasyncerrors\u0026logoColor=white\"\u003e \n \u003cimg src=\"https://img.shields.io/badge/dotenv-000000?style=for-the-badge\u0026logo=dotenv\u0026logoColor=white\"\u003e \n \u003cimg src=\"https://img.shields.io/badge/cors-000000?style=for-the-badge\u0026logo=cors\u0026logoColor=white\"\u003e \n \n\n \u003cimg src=\"https://img.shields.io/badge/Vercel-000000?style=for-the-badge\u0026logo=vercel\u0026logoColor=white\"\u003e \n\n\n\n \n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibrsec%2Fbackend-stockapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibrsec%2Fbackend-stockapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibrsec%2Fbackend-stockapi/lists"}