{"id":27976973,"url":"https://github.com/lemoncode/gex-front","last_synced_at":"2025-07-23T15:35:43.381Z","repository":{"id":263300513,"uuid":"882763492","full_name":"Lemoncode/gex-front","owner":"Lemoncode","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-05T16:42:36.000Z","size":471,"stargazers_count":10,"open_issues_count":16,"forks_count":3,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-05-08T01:43:37.574Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lemoncode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-11-03T17:41:20.000Z","updated_at":"2025-04-28T09:12:16.000Z","dependencies_parsed_at":"2024-11-17T17:46:42.972Z","dependency_job_id":"a8ef8df6-993a-4c12-8770-21b99ad19c28","html_url":"https://github.com/Lemoncode/gex-front","commit_stats":null,"previous_names":["lemoncode/gex-front"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lemoncode%2Fgex-front","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lemoncode%2Fgex-front/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lemoncode%2Fgex-front/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lemoncode%2Fgex-front/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lemoncode","download_url":"https://codeload.github.com/Lemoncode/gex-front/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252983759,"owners_count":21835758,"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":[],"created_at":"2025-05-08T01:43:41.737Z","updated_at":"2025-05-08T01:43:42.364Z","avatar_url":"https://github.com/Lemoncode.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Run the project\n\nNow you can run the project.\n# Gex-front\n\n![Contributors](https://img.shields.io/github/contributors/Lemoncode/gex-front)\n![Forks](https://img.shields.io/github/forks/Lemoncode/gex-front)\n![Stars](https://img.shields.io/github/stars/Lemoncode/gex-front)\n![Licence](https://img.shields.io/github/license/Lemoncode/gex-front)\n![Issues](https://img.shields.io/github/issues/Lemoncode/gex-front)\n\n##  Project\n\nElectronic Manager of Public Procurement Files of the General State Administration.\n\n## 🚀 Installation\n\n\nClone this repository:\n\n```bash\ngit clone https://github.com/Lemoncode/gex-front.git\n```\n\nThen install dependencies with:\n\n```bash\ncd gex-front\nnpm install\n```\n\nWhen we install the project we can see that when we finish installing the dependencies the mock server dependencies are installed with the postinstall script.\n\n_./package.json_\n\n```json\n\"scripts\": {\n    \"predev\": \"node ./create-dev-env.js\",\n    \"postinstall\": \"cd mock-server \u0026\u0026 npm install\",\n    \"dev\": \"run-p start:vite start:mock-server\",\n    \"start:vite\": \"vite\",\n    \"start:mock-server\": \"cd mock-server \u0026\u0026 npm run start\",\n    \"build\": \"tsc -b \u0026\u0026 vite build\",\n    \"lint\": \"eslint .\",\n    \"preview\": \"vite preview\",\n    \"prepare\": \"husky install\"\n  },\n```\n\nChecking again at the _./package.json_ file we can see that we are running two commands in parallel. The first one is the Vite server and the second one is the mock server.\n\nWe have also created a script for when we start the project if the environment is not created it will create it. This is done by the script `predev`.\n\n_./package.json_\n\n```json\n\"scripts\": {\n    \"predev\": \"node ./create-dev-env.js\",\n    \"postinstall\": \"cd mock-server \u0026\u0026 npm install\",\n    \"dev\": \"run-p start:vite start:mock-server\",\n    \"start:vite\": \"vite\",\n    \"start:mock-server\": \"cd mock-server \u0026\u0026 npm run start\",\n    \"build\": \"tsc -b \u0026\u0026 vite build\",\n    \"lint\": \"eslint .\",\n    \"preview\": \"vite preview\",\n    \"prepare\": \"husky install\"\n  },\n```\n\nNow we can run the project with:\n\n```bash\nnpm run dev\n```\n\nOpen your browser and go to http://localhost:5173 (if this port is busy it will be changed to the next available port)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemoncode%2Fgex-front","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flemoncode%2Fgex-front","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemoncode%2Fgex-front/lists"}