{"id":19463682,"url":"https://github.com/4s4v1n/retailanalistycs","last_synced_at":"2026-07-20T11:31:01.558Z","repository":{"id":186342962,"uuid":"675031341","full_name":"4s4v1n/RetailAnalistycs","owner":"4s4v1n","description":"Full-stack project for working with a database storing market information","archived":false,"fork":false,"pushed_at":"2023-09-15T15:31:42.000Z","size":7437,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T03:11:04.267Z","etag":null,"topics":["database","full-stack","golang","react","rest-api","sql","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/4s4v1n.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}},"created_at":"2023-08-05T14:48:57.000Z","updated_at":"2023-09-15T15:33:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"8ba6f464-695c-4042-bdc8-7f8838b5569a","html_url":"https://github.com/4s4v1n/RetailAnalistycs","commit_stats":null,"previous_names":["sav1nbrave4code/retailanalistycs","4s4v1n/retailanalistycs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4s4v1n%2FRetailAnalistycs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4s4v1n%2FRetailAnalistycs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4s4v1n%2FRetailAnalistycs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4s4v1n%2FRetailAnalistycs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/4s4v1n","download_url":"https://codeload.github.com/4s4v1n/RetailAnalistycs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240672824,"owners_count":19838930,"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":["database","full-stack","golang","react","rest-api","sql","typescript"],"created_at":"2024-11-10T18:11:48.992Z","updated_at":"2026-07-20T11:31:01.380Z","avatar_url":"https://github.com/4s4v1n.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RetailAnalistics\n\n\u003cimg src=\"images/main.png\" alt=\"main\"\u003e\n\nFull-stack project for working with a database storing market information.\n\n## Content\n\nThis project is a full-fledged web application that allows you to work with a database of market information.\n\nIn essence, the project is a logical continuation of the project related to the development of a database\nto store market information. [Database](https://github.com/sav1nbrave4code/RetailAnalistycsDB).\n\nImplemented:\n1. CRUD for all tables in the database\n2. Calling functions and procedures in the database\n3. Import and export tables to csv\n4. Convenient web interface\n5. Authorization\n6. Query execution from various roles at the database level\n7. Proxy server\n8. Logging\n\nWhat was used:\n1. Frontend - `JS + React`\n2. Backend - `Golang + Chi`\n3. Database - `PostgreSQL`\n4. Proxy - `Nginx`\n\nAll components of the project are launched in separate docker containers and united\nin one layer using docker-compose.\nAccordingly, docker and docker-compose are required to run this application.\n\nThe application uses the following ports:\n\n1. 4500 - proxy (main)\n2. 3000 - frontend\n3. 8080 - backend\n4. 5432 - database\n\nTo run the make application to clear the docker containers cache make clean.\n\n## Users\n\nAs noted, the application implements authorization and execution of queries to the database from various roles.\n\nRole credits:\n\n| Role    | Logs    | Password |\n|---------|---------|----------|\n| admin   | admin   | admin    |\n| visitor | visitor | visitor  |\n\nOperations available for roles:\n\n| Role    | Tables  | Views | Functions | Export | Import |\n|---------|---------|-------|-----------|--------|--------|\n| admin   | CRUD    | -RU-  | +         | +      | +      |\n| visitor | -R--    | -R--  | +         | +      | -      |\n\n## Web interface examples\n\nAuthorization\n\n\u003cimg src=\"images/auth.png\" alt=\"auth\"\u003e\n\nTable\n\n\u003cimg src=\"images/table.png\" alt=\"table\"\u003e\n\nPerformance\n\n\u003cimg src=\"images/view.png\" alt=\"view\"\u003e\n\nAdd to table\n\n\u003cimg src=\"images/add.png\" alt=\"add\"\u003e\n\nRemoving from a table\n\n\u003cimg src=\"images/delete.png\" alt=\"delete\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4s4v1n%2Fretailanalistycs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F4s4v1n%2Fretailanalistycs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4s4v1n%2Fretailanalistycs/lists"}