{"id":27940971,"url":"https://github.com/boyank95/finalproject_yara_internship2023","last_synced_at":"2026-04-16T08:31:39.863Z","repository":{"id":152107173,"uuid":"623381395","full_name":"BoyanK95/FinalProject_yara_internship2023","owner":"BoyanK95","description":"A full stack REST application, created with React and NestJS, using PostgreSQL for the database","archived":false,"fork":false,"pushed_at":"2023-05-01T21:01:19.000Z","size":508,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T10:36:21.852Z","etag":null,"topics":["css","html","javascript","nestjs","reactjs","sequelize","sql"],"latest_commit_sha":null,"homepage":"","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/BoyanK95.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,"zenodo":null}},"created_at":"2023-04-04T09:01:16.000Z","updated_at":"2023-04-11T16:23:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"a4e9f7e2-9b92-4c15-a120-b2c814664010","html_url":"https://github.com/BoyanK95/FinalProject_yara_internship2023","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BoyanK95/FinalProject_yara_internship2023","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BoyanK95%2FFinalProject_yara_internship2023","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BoyanK95%2FFinalProject_yara_internship2023/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BoyanK95%2FFinalProject_yara_internship2023/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BoyanK95%2FFinalProject_yara_internship2023/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BoyanK95","download_url":"https://codeload.github.com/BoyanK95/FinalProject_yara_internship2023/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BoyanK95%2FFinalProject_yara_internship2023/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31877469,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T07:36:03.521Z","status":"ssl_error","status_checked_at":"2026-04-16T07:35:53.576Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["css","html","javascript","nestjs","reactjs","sequelize","sql"],"created_at":"2025-05-07T10:34:23.943Z","updated_at":"2026-04-16T08:31:39.858Z","avatar_url":"https://github.com/BoyanK95.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FinalProject_yara_internship2023\nThis is a small stock management application consisting of several pages built with ReactJS consuming REST API. The API should call another REST API for calculation operations, and the data is stored in PostgreSQL. The backend is written with NestJS using TypeScript, and the frontend - React, and several external packages (react-router, react-bootstrap and more).\n\n\nThe Nest API is placed in the following repo, due to a bug with github-desktop and nest (creates default new repo with a new Nest project): https://github.com/BoyanK95/assignment-nest-api\n\nI've used some external packages you can see them all in the package.json file of the project. Some of the more important ones are nodemon, dotenv, bcrypt, class-validator, and sequelize to set the connection with pg. Also due to the fact that the React app is set to run on port 3000, I used port 3001 for the backend. That resulted in cors error (Cross-Origin Resource Sharing), which I've fixed through cors package and a CorsMiddleware to all ports.\nYou can start the server using the common, npm start command or preferably nest start --watch command for dev purposes.\n\nThe frontend React part of the app is located in this repo in the my_warehouse_app folder. \nYou can start the app using npm start command. Normally react apps run on port 3000, but if its taken just type Y and it should forward you to the next posible port.\n\n\n\n# Screens:\n\n## Screen 1 Home page\n\nYou see a different home page depending on Auth.token. For not registered users you have links to registration, for registered - links to producst, movements, and warehouses.\n\n## Screen 2: Login and Registration\n\nOn this screen, users can register and log in to their \"space\" and \"data.\"\n\n## Screen 3: Warehouse Operations\n\nOn this screen, users can perform different warehouse operations like delete, create, or edit. They can also list all the warehouses for the specific user.\n\n## Screen 4: Product Operations\n\nOn this screen, users can quickly add, edit and delete products to the master products list and see a full list of the product list.\n\n## Screen 4: Warehouse Stock Movement\n\n The page shows the current movements , free stock space remaining, and a historic list of Imports and exports. The user can also add a new import or export.\n\n## Database Schema\nThe database schema includes the following tables:\n\nusers\nproducts\nwarehouses\nwarehouses_products\nstock_movements\n\n\nYou can see the current schema for the backend API and a link to it down here:\n\nhttps://github.com/BoyanK95/FinalProject_yara_internship2023/blob/main/warehouseAppDB.png\n\n\n![Database schema](https://github.com/BoyanK95/FinalProject_yara_internship2023/blob/main/warehouseAppDB.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboyank95%2Ffinalproject_yara_internship2023","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboyank95%2Ffinalproject_yara_internship2023","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboyank95%2Ffinalproject_yara_internship2023/lists"}