{"id":27227984,"url":"https://github.com/ingerstep/e-market","last_synced_at":"2025-06-12T02:38:44.843Z","repository":{"id":257546556,"uuid":"858590499","full_name":"ingerstep/e-market","owner":"ingerstep","description":"💻🛒 Online store for consumer electronics","archived":false,"fork":false,"pushed_at":"2024-12-04T03:34:29.000Z","size":4795,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T11:12:09.525Z","etag":null,"topics":["docker","docker-compose","nestjs","nextjs","redux"],"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/ingerstep.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-09-17T07:14:21.000Z","updated_at":"2025-02-23T09:30:16.000Z","dependencies_parsed_at":"2024-09-17T10:21:42.443Z","dependency_job_id":"2ba97069-1896-4193-bd7a-6859f30f740b","html_url":"https://github.com/ingerstep/e-market","commit_stats":null,"previous_names":["ingerstep/e-market","ingerstep/react-market"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ingerstep%2Fe-market","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ingerstep%2Fe-market/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ingerstep%2Fe-market/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ingerstep%2Fe-market/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ingerstep","download_url":"https://codeload.github.com/ingerstep/e-market/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248217114,"owners_count":21066633,"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":["docker","docker-compose","nestjs","nextjs","redux"],"created_at":"2025-04-10T12:25:29.320Z","updated_at":"2025-04-10T12:25:29.814Z","avatar_url":"https://github.com/ingerstep.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# E-market\n\nE-market is an online platform for selling household appliances, designed with inspiration from Apple’s aesthetics.\n\n## Descriptiom\n\nThe application consists of several screens:\n\n- **Authorization**: .\n- **Main Page**: .\n- **Category Product Page**: .\n- **Product page**: .\n- **Cart**: .\n- **Favorites**: .\n- **Account**: .\n\n### General Elements of the Application\n\n- **-**: .\n  - **-**: .\n  \n### Layout - [Figma](https://www.figma.com/design/aEL4s7qHVNbuQxZmHkvWni/E-Commerce-UI-Kit-(Community)?node-id=113-159\u0026node-type=canvas\u0026t=9S3m8orkpzwUUHEb-0)\n\n## Set Up the Repository\n\n```bash\n$ git clone https://github.com/ingerstep/e-market\n$ cd e-market\n```\n\n# Running with Docker\n\n## Description\n\nTo simplify the deployment of the application, you can use Docker.\n\n## Installation\n\nMake sure you have Docker and Docker Compose installed.\n\n```bash\n$ docker --version\n$ docker compose version | docker-compose --version\n```\n## Environment\n\n```bash\n#create .env in root of the project\nPOSTGRES_HOST=db\nPOSTGRES_PORT=5432\nPOSTGRES_LOCAL_PORT=your_local_port | 5432\nPOSTGRES_USER=user\nPOSTGRES_PASSWORD=your_password\nPOSTGRES_DB=your_db_name\nSERVER_PORT=your_server_port | 3000\nJWT_SECRET=your_secret\n```\n## Running the Application\n\n### Navigate to the root directory of the project.\n\nStart Docker Compose:\n\n```bash\n$ docker-compose up --build\n```\n\n### Stopping the Application\n\nTo stop the application, use:\n\n```bash\n$ docker-compose down\n```\n\n- **The frontend will be accessible at http://localhost:3000.**\n- **The backend will be accessible at http://localhost:3000 or your specified SERVER_PORT.**\n- **After each docker compose up --build, Postgres restarts the migrations and refills the tables with mock data.**\n- **An isolated bridge network named emarket is created in the Docker settings.**\n\n# Default start\n\nAfter cloning the repository, you need to initialize the backend part of the application, followed by the frontend.\n\n# Backend\n\n## Description\n\nThe repository contains the server side of the application using NestJS and PostgreSQL.\n\nDirectory - /server.\n\n## Install Dependencies and Initialize the Database\n\n```bash\n$ npm install\n$ npm run migration:run\n```\n\n## Run the Application\n\n```bash\n# development\n$ npm run start\n```\n## Build\n\n```bash\n$ npm run build\n```\n\n# Frontend\n\n## Description\n\nThis repository contains the frontend part of the application, utilizing Next JS, Redux, and TypeScript.\n\nDirectory - /client.\n\n## Install Dependencies\n\n```bash\n$ npm install\n```\n\n## Run the Application\n\n```bash\n# development\n$ npm run dev\n```\n\n## Build\n\n```bash\n$ npm run build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fingerstep%2Fe-market","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fingerstep%2Fe-market","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fingerstep%2Fe-market/lists"}