{"id":21909776,"url":"https://github.com/akash-goyal-github/inventory-management-system","last_synced_at":"2025-04-15T02:25:46.953Z","repository":{"id":170144335,"uuid":"410784457","full_name":"Akash-goyal-github/Inventory-Management-System","owner":"Akash-goyal-github","description":"⭐Inventory Management System⭐demonstrates the CRUD (Create, Read, Update and Delete) operations which is done using Tech Stack ⭐Angular, Spring Boot and Mysql. 💯 💥. On the landing page of the application displaying all the records where  user can insert/create the Product, update the Product, delete the Product. 💯 💥","archived":false,"fork":false,"pushed_at":"2024-08-04T13:45:51.000Z","size":1162,"stargazers_count":42,"open_issues_count":2,"forks_count":43,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T14:11:25.453Z","etag":null,"topics":["angular","angular-springboot","capstone-project","crud","delete","exception","framework","get","inventory-management-system","jwt","jwt-authentication","login-page","mvc-architecture","mysql","post","restapi","small-project","spring-boot","test-case","update"],"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/Akash-goyal-github.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":"2021-09-27T07:29:35.000Z","updated_at":"2025-03-02T19:54:27.000Z","dependencies_parsed_at":"2025-01-16T07:09:46.047Z","dependency_job_id":"98051c5b-1b6a-48a7-b5fe-542281273e4d","html_url":"https://github.com/Akash-goyal-github/Inventory-Management-System","commit_stats":{"total_commits":11,"total_committers":2,"mean_commits":5.5,"dds":"0.18181818181818177","last_synced_commit":"256ebe9d834c690e2d1c639dfefd00df6f3c408b"},"previous_names":["akash-goyal-github/inventory-management-system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akash-goyal-github%2FInventory-Management-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akash-goyal-github%2FInventory-Management-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akash-goyal-github%2FInventory-Management-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akash-goyal-github%2FInventory-Management-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Akash-goyal-github","download_url":"https://codeload.github.com/Akash-goyal-github/Inventory-Management-System/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248992889,"owners_count":21195106,"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":["angular","angular-springboot","capstone-project","crud","delete","exception","framework","get","inventory-management-system","jwt","jwt-authentication","login-page","mvc-architecture","mysql","post","restapi","small-project","spring-boot","test-case","update"],"created_at":"2024-11-28T17:26:02.437Z","updated_at":"2025-04-15T02:25:46.927Z","avatar_url":"https://github.com/Akash-goyal-github.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":" \u003ch1 align=\"center\"\u003e Airbus Inventory Management System\u003c/h1\u003e\n \n ---\n \n  [Objective:](https://github.com/Akash-goyal-github/Inventory-Management-System/blob/main/Problem%20Statement.PNG) \n\n      1. Design and implement the REST APIs to integrate with Sql database\n          1. GET all products of a given category\n          2. GET all products\n          3. POST to add new product\n          4. PUT to update a existing product\n          5. Delete a product\n      2. Implement APIs with the best REST Practices.\n      3. Implement custom error handling in APIs to gracefully handle all exceptions.\n      4. Use JWT Tokens and validate all endpoints for security.\n      5. Develop a UI:\n          1. Use REST APIs to display all the product names, description and units in a table, \n          2. Filters for data.\n          3. Add / Update the product.\n          4. Search Product based on Category\n\n\n  RoadMap:\n  \n      1. Login to the Angular Application.\n          \n          Default Login Credentials:\n            username: airbus02@gmail.com\n            password:1234\n            \n      2. Perform Any CRUD Operations.\n\n  Actions:\n\n        1. Fork this repository.\n        2. Clone the repository and cd into spring boot files.\n        3. Install dependencies through npm install in Angular AirbusInventory.\n        5. Create database and tables in your Local System:-\n              1. Create a Database in your system: create database Product;\n              2. Create Product, User Tables\n              (commands given below in Road Map Test and also in Spring -\u003e src/main/resources-\u003e schema.sql)\n        6. Run the airbus-management-spring as Spring boot App on the server port 8080 and configure the datasource with your mysql user credentials(in Application Properties).\n        7. Run the frontend -ng serve which shall run on port:4200.\n        \n---\n\nRoadMap to test Inventory Management System project:\n-----------------------------------------------------------------------------------------------\n\nThis project was generated with Angular CLI: 12.2.3.\n\nCreate Tables : Go to  \n-----------------------------------------------------------------------------------------------\n\t\nCredentials to login to my sql:- (change in application.properties file in Spring Project)\n\n1. Creating Product Database-\n\n        create database Product;\n\t\n2. Creating Product Table-\n\t\n\t    use Product;\n        drop table Product;\n        create table Product(\n        productId varchar(256) Unique not null,\n        productName varchar(256),\n        productDescription varchar(3500),\n        productCategory varchar(256),\n        units int\n        );\n\n3. Creating User Table-\n\n\t\n        drop table User;\n        create table User(\n        username varchar(256),\n        password varchar(256)\n        );\n\n4. Inserting Manual Data in user Table-\n\n\t\tuse Product;\n\t\tinsert into User(username,password) Values(\"airbus01@gmail.com\",\"$2a$10$slYQmyNdGzTn7ZLBXBChFOC9f6kFjAqPhccnP6DxlWXx2lPk1C3G6\");\n\t\tinsert into User(username,password) Values(\"airbus02\",\"$2a$10$ZnnAdfh3cc7a/b1aODLeoOjifNPbHL6Vo8kpRJj.muPsVp1697hJO\");\n\t\t\n\t\t//These are encrypted password using Bcrypt.( We have used Bcrypt so that no one can access our password from database.\n\t\t\n\t\t1st one means:- username - airbus01@gmail.com, password- password\n\t\t2nd one means:- username - airbus02@gmail.com, password- 1234\n\n\nNote:- The same SQL Statements are also present in schema.sql file (Under src/main/resources)\n-----------------------------------------------------------------------------------------------\n\n\n# Know your server:\n\n1. Login to the application -\n\nPost Request - http://localhost:8080/airbusManagement/JWT/authenticateUser\n\n    Expecting Json data-{username, password}\n\nAssumptions:-\n\n    1. username should be of Email Id format.\n    2. username and password can not be Null.\n\n        Default Login Credentials:\n                    username: airbus02@gmail.com\n                    password:1234\n\n2. GET all products -\n\nGet Request - http://localhost:8080/airbusManagement/getAllProducts \n \n      expecting header - { 'Authorization', Bearer ${token} }.\n\n\n3. GET all products of a given category -\n\nGet Request - http://localhost:8080/airbusManagement/getProductsByCategory/{categoryName} \n\n    expecting header - { 'Authorization', Bearer ${token} }.\n\n4. Add all products -\n\nPost Request - http://localhost:8080/airbusManagement/addProduct \n\n      Expecting Json data - {productId,productName,productDescription,productCategory,units} \n      expecting header - { 'Authorization', Bearer ${token} }.\n\n\n5. Update product -\n\nPost Request - http://localhost:8080/airbusManagement/updateProduct/{ProductId} \n\n      Expecting Json data - {productId,productName,productDescription,productCategory,units} \n      expecting header - { 'Authorization', Bearer ${token} }.\n    \n\n6. Delete product-\n\nDelete Request - http://localhost:8080/airbusManagement/deleteProduct/{ProductId}\n\n    expecting header - { 'Authorization', Bearer ${token} }.\n\n\nStack:\n\n    -Spring Boot Application\n    -Spring MVC\n    -Spring Jdbc\n    -Maven\n    -sql database\n    -Angular\n\n\nSteps to be followed in running Angular:\n\n      1.npm install, npm run build, npm serve.\n\nfeatures used for UI display:\n\n      1. Angular Material\n      2. Responsive Design, Bootstrap, HTML 5.1, CSS\n\nFor further help:\n\nTo get more help on the Angular CLI use ng help or go check out the Angular CLI README.\n\n-----------------------------------------------------------------------------------------------\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakash-goyal-github%2Finventory-management-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakash-goyal-github%2Finventory-management-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakash-goyal-github%2Finventory-management-system/lists"}