{"id":19556373,"url":"https://github.com/ibrsec/bs-store-fullstack-render","last_synced_at":"2026-04-11T07:04:10.202Z","repository":{"id":254010401,"uuid":"845214293","full_name":"ibrsec/bs-store-fullstack-render","owner":"ibrsec","description":"Fullstack BS Store App","archived":false,"fork":false,"pushed_at":"2024-09-09T13:29:01.000Z","size":3131,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T21:36:23.286Z","etag":null,"topics":["express","jwt","material-ui","mongodb","react","redux"],"latest_commit_sha":null,"homepage":"https://bs-store-fullstack-render.onrender.com","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-20T20:09:39.000Z","updated_at":"2024-09-09T13:29:04.000Z","dependencies_parsed_at":"2024-09-09T16:12:38.137Z","dependency_job_id":"ed16924d-6db8-4114-8fb9-8e14d62d17aa","html_url":"https://github.com/ibrsec/bs-store-fullstack-render","commit_stats":null,"previous_names":["ibrsec/bs-store-fullstack-render"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrsec%2Fbs-store-fullstack-render","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrsec%2Fbs-store-fullstack-render/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrsec%2Fbs-store-fullstack-render/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrsec%2Fbs-store-fullstack-render/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibrsec","download_url":"https://codeload.github.com/ibrsec/bs-store-fullstack-render/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240814837,"owners_count":19861955,"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","jwt","material-ui","mongodb","react","redux"],"created_at":"2024-11-11T04:37:42.353Z","updated_at":"2026-04-11T07:04:05.176Z","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://bs-store-fullstack-render.onrender.com/api-doc/\"\u003e\n    \u003cimg src=\"./client/public/logo.png\" alt=\"Logo\" width=\"250\"   \u003e\n  \u003c/a\u003e\n\n  \u003ch3 align=\"center\"\u003eFull stack BS Store App\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    An awesome Full-stack BS Store 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://bs-store-fullstack-render.onrender.com/\"\u003eView Demo\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/ibrsec/bs-store-fullstack-render/tree/main/client\"\u003eFrontend Repo\u003c/a\u003e\n    ·\n    \u003ca href=\"https://bs-store-fullstack-render.onrender.com/api/v1/api-doc/\"\u003eBackend Swagger\u003c/a\u003e\n    \u003c!-- ·\n    \u003ca href=\"https://bs-store-fullstack-render.onrender.com/api/v1/documents/redoc\"\u003eBackend Redoc\u003c/a\u003e --\u003e\n    ·\n    \u003ca href=\"https://github.com/ibrsec/bs-store-fullstack-render/issues\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/ibrsec/bs-store-fullstack-render/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[![bs-store-app](./client/public/project.gif)](https://bs-store-fullstack-render.onrender.com/)\n\u003c!-- ---\n\u003cb\u003eERD:\u003c/b\u003e\n[![stock-app-erd](./erdStockAPI.png)](https://bs-store-fullstack-render.onrender.com/) --\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---\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 Fullstack BS-Store App Project\u003c/br\u003e\n🏀 [Frontend Live](https://bs-store-fullstack-render.onrender.com/) || [Backend Swagger](https://bs-store-fullstack-render.onrender.com/api-doc/) \u003c/br\u003e\u003c/br\u003e\nFRONTEND:\n\n\u003cb\u003e🎯 React Development:\u003c/b\u003e Built a responsive frontend using React.js, ensuring a seamless user experience.\u003c/br\u003e\n\n\u003cb\u003e🛠 State Management:\u003c/b\u003e Managed application state with Redux Toolkit and Redux Persist, providing consistent state management across sessions.\u003c/br\u003e\n\n\u003cb\u003e🚀 Routing:\u003c/b\u003e Integrated React Router DOM for smooth navigation between key pages like login, product listings, and admin dashboard.\u003c/br\u003e\n\n\u003cb\u003e🔒 Authentication:\u003c/b\u003e Implemented JWT token authentication for secure user login and access control.\u003c/br\u003e\n\n\u003cb\u003e🔩 CRUD Operations:\u003c/b\u003e Enabled full CRUD operations for products and categories, accessible to admin users only.\u003c/br\u003e\n\n\u003cb\u003e🔔 User Notifications:\u003c/b\u003e Integrated React Toastify for real-time feedback on user actions such as login, registration, and CRUD operations.\u003c/br\u003e\n\n\u003cb\u003e💪 User Roles:\u003c/b\u003e Normal users can only list products, while admin users have full access to create, update, and delete products and categories.\u003c/br\u003e\n\n\u003cb\u003e🌱 Admin Access:\u003c/b\u003e Admin credentials are pre-populated on the login page for easy access to administrative functions.\u003c/br\u003e\u003c/br\u003e\n\nBACKEND:\n\n\u003cb\u003e🎯 Express.js Framework:\u003c/b\u003e Developed a robust backend with Express.js, handling secure and efficient product and category management.\u003c/br\u003e\n\n\u003cb\u003e🖥 Database Management:\u003c/b\u003e Utilized MongoDB with Mongoose for flexible and consistent data modeling and querying.\u003c/br\u003e\n\n\u003cb\u003e🔒 Authentication \u0026 Authorization:\u003c/b\u003e Used JWT tokens for secure user authentication and authorization throughout the application.\u003c/br\u003e\n\n\u003cb\u003e📄 API Documentation:\u003c/b\u003e Created comprehensive API documentation with Swagger for easy testing and understanding of endpoints.\u003c/br\u003e\n\n\u003cb\u003e🔩 CRUD Operations:\u003c/b\u003e Implemented full CRUD functionality for products and categories, with role-based access control ensuring only admins can modify data.\u003c/br\u003e\n\n\u003cb\u003e🛠 Middleware \u0026 Error Handling:\u003c/b\u003e Employed express-async-errors and custom middleware for consistent error handling and validation across the application.\u003c/br\u003e\n\n\u003cb\u003e🌐 CORS Handling:\u003c/b\u003e Configured CORS to allow secure cross-origin requests between the frontend and backend.\u003c/br\u003e\n\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/bs-store-fullstack-render.git\n\n# enter the project directory\ncd stockapp-fullstack-render\n\n# install dependency\n# linux\nnpm run setup-production\n# windows\nnpm run setup-production-windows\n\n# run\nnode index.js\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+ bs-store-fullstack-render  (folder)  \n      |---client (folder)   \n      |      |          \n      |      |---public (folder) \n      |      |                \n+     |      |---src (folder) \n      |      |     |---pages (folder)       \n      |      |     |           \n      |      |     |---components (folder) \n      |      |     |    \n      |      |     |---app (folder) ---store.jsx      \n      |      |     |    └--features (folder)       \n      |      |     |        |---authSlice.jsx  \n      |      |     |        └---stockSlice.jsx       \n      |      |     |          \n      |      |     |          \n      |      |     |---router (folder)         \n      |      |     |          \n      |      |     |---services (folder)              \n      |      |     |          \n      |      |     |---helper (folder)          \n      |      |     |          \n      |      |     |---App.js \n      |      |     |---Index.js\n      |      |     └---Index.css\n      |      |      \n      |      |----.dockerignore\n      |      |----dockerfile\n      |      |----package.json\n      |      |----yarn.lock \n      |      └----readme.md \n      |      \n+     |---src (folder) \n      |     |---config (folder)       \n      |     |           \n      |     |---controllers (folder)  \n      |     |    \n      |     |---helpers (folder)      \n      |     |          \n      |     |---middlewares (folder)      \n      |     |          \n      |     |---models (folder)           \n      |     |          \n      |     └---routes (folder)  \n      |      \n      |----.env\n      |----.gitignore\n      |----index.js\n      |----package-lock.json\n      |----package.json\n      |----.dockerignore\n      |----dockerfile\n      |----swaggerAutogen.js\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\u003cb\u003eFrontend\u003c/b\u003e\n \n\u003c!-- https://dev.to/envoy_/150-badges-for-github-pnk  search skills--\u003e\n\n\n\u003c!-- https://dev.to/envoy_/150-badges-for-github-pnk  search skills--\u003e\n\n \u003cimg src=\"https://img.shields.io/badge/HTML-239120?style=for-the-badge\u0026logo=html5\u0026logoColor=white\"\u003e\n \u003cimg src=\"https://img.shields.io/badge/CSS-239120?\u0026style=for-the-badge\u0026logo=css3\u0026logoColor=white\u0026color=red\"\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 \u003cimg src=\"https://img.shields.io/badge/React-20232A?style=for-the-badge\u0026logo=react\u0026logoColor=61DAFB\"\u003e \n \u003c!-- \u003cimg src=\"https://img.shields.io/badge/Next-20232A?style=for-the-badge\u0026logo=next\u0026logoColor=61DAFB\"\u003e  --\u003e\n \u003cimg src=\"https://img.shields.io/badge/React_Router-CA4245?style=for-the-badge\u0026logo=react-router\u0026logoColor=white\"\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  \u003cimg src=\"https://img.shields.io/badge/Redux-593D88?style=for-the-badge\u0026logo=redux\u0026logoColor=white\"\u003e  \n \u003cimg src=\"https://img.shields.io/badge/Redux Toolkit-593D88?style=for-the-badge\u0026logo=redux\u0026logoColor=white\"\u003e \n \u003cimg src=\"https://img.shields.io/badge/Redux--Persist -593D88?style=for-the-badge\u0026logo=redux\u0026logoColor=white\"\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 \u003cimg src=\"https://img.shields.io/badge/Axios-593D88?style=for-the-badge\u0026logo=axios\u0026logoColor=white\"\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 \u003cimg src=\"https://img.shields.io/badge/Material--UI-0081CB?style=for-the-badge\u0026logo=material-ui\u0026logoColor=white\"\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 \u003cimg src=\"https://img.shields.io/badge/Toastify-45CC11?style=for-the-badge\u0026logo=toastify-ui\u0026logoColor=white\"\u003e \n\n\n---\n\n\u003cb\u003eBackend\u003c/b\u003e\n\n\n \u003cimg src=\"https://img.shields.io/badge/JavaScript-F7DF1E?style=for-the-badge\u0026logo=javascript\u0026logoColor=black\"\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/json%20web%20tokens-323330?style=for-the-badge\u0026logo=json-web-tokens\u0026logoColor=pink\"\u003e \n \u003cimg src=\"https://img.shields.io/badge/Swagger-4EA94B?style=for-the-badge\u0026logo=swagger\u0026logoColor=white\"\u003e \n \u003cimg src=\"https://img.shields.io/badge/Vercel-000000?style=for-the-badge\u0026logo=vercel\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 \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\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibrsec%2Fbs-store-fullstack-render","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibrsec%2Fbs-store-fullstack-render","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibrsec%2Fbs-store-fullstack-render/lists"}