{"id":27951936,"url":"https://github.com/kate8382/frontend-pro","last_synced_at":"2025-05-07T16:27:05.316Z","repository":{"id":282902736,"uuid":"946667324","full_name":"kate8382/frontend-pro","owner":"kate8382","description":"Final project for the JavaScript \"Basic Level\" course at Skillbox. Includes frontend and backend modules.","archived":false,"fork":false,"pushed_at":"2025-04-26T17:01:18.000Z","size":667,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-26T18:18:44.949Z","etag":null,"topics":["backend","frontend","javascript","project","skillbox"],"latest_commit_sha":null,"homepage":"https://kate8382.github.io/frontend-pro/","language":"JavaScript","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/kate8382.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":"2025-03-11T13:48:49.000Z","updated_at":"2025-04-26T17:01:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"638d1ada-c6a0-46fd-bb88-be5328cfdf8a","html_url":"https://github.com/kate8382/frontend-pro","commit_stats":null,"previous_names":["ekaterinasevciuc/frontend-pro","kate8382/frontend-pro"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kate8382%2Ffrontend-pro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kate8382%2Ffrontend-pro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kate8382%2Ffrontend-pro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kate8382%2Ffrontend-pro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kate8382","download_url":"https://codeload.github.com/kate8382/frontend-pro/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252914607,"owners_count":21824404,"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":["backend","frontend","javascript","project","skillbox"],"created_at":"2025-05-07T16:27:04.620Z","updated_at":"2025-05-07T16:27:05.292Z","avatar_url":"https://github.com/kate8382.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontend Pro\n\n## Description\n\nThis project represents the main repository, which includes the `crm-backend` folder and the `frontend-module` submodule. The main repository contains the overall project structure and installation and usage instructions.\n\n### Frontend Module\n\nThis project represents the frontend part of the application with the following functionality:\n- User authentication and authorization\n- Form validation before submitting to the server\n- Dashboard with real-time data visualization\n- Data editing\n- Data sorting and searching\n- Autocomplete functionality in the filter input\n- Integration with backend API for data fetching and manipulation\n- Responsive design for mobile and desktop\n- Modal window animations\n- Loading indicators\n- Hash and hashchange functionality\n- BEM (Block Element Modifier) methodology for CSS class naming\n\n### CRM Backend\n\nThe `crm-backend` folder contains the server-side part of the application, which allows working with data through the API. The rights to `crm-backend` belong to Skillbox.\n\n#### New Functionality\n\n- Added server functionality for autocomplete and hash-based URL handling:\n  - `GET /api/clients/autocomplete?query={query}`: Get a list of client autocomplete suggestions based on the query. Parameters passed in the URL:\n    * `query={query}`: A string to search for clients by first name, last name, or middle name.\n  - `GET /#client_id`: Get a client by their ID from the hash part of the URL. Example:\n    ```plaintext\n    GET /#12345\n    ```\n    This method returns an HTML file with the edit client modal window open.\n\n## Course Information\n\nThis project is the final work for the JavaScript \"Basic Level\" course at Skillbox.\n\n## Installation\n\n1. Clone the repository:\n   ```sh\n   git clone git@github.com:kate8382/frontend-pro.git\n   ```\n\n2. Navigate to the project directory:\n   ```sh\n   cd frontend-pro\n   ```\n\n3. Initialize and update the submodule:\n   ```sh\n   git submodule update --init --recursive\n   ```\n\n### Setting up the CRM Backend\n\n1. Navigate to the `crm-backend` directory:\n   ```sh\n   cd crm-backend\n   ```\n\n2. Install the dependencies:\n   ```sh\n   npm install\n   ```\n\n3. Start the server using npm:\n   ```sh\n   npm start\n   ```\n\n   Alternatively, you can start the server using Node.js directly:\n   ```sh\n   node index.js\n   ```\n\n## Usage\n\n1. Open the `index.html` file in your browser.\n\n## Examples\n\n- Example 1: User login and registration\n- Example 2: Viewing and interacting with the dashboard\n- Example 3: Using autocomplete functionality in the filter input\n\n## Screenshots\n\n![Screenshot 1](screenshots/image1.png) \n![Screenshot 2](screenshots/image2.png)\n![Screenshot 3](screenshots/image3.png)\n\n## Contributing\n\nIf you would like to contribute to this project, please follow these steps:\n1. Fork the repository.\n2. Create a new branch (`git checkout -b feature-branch`).\n3. Make your changes and commit them (`git commit -m 'Add new feature'`).\n4. Push to the branch (`git push origin feature-branch`).\n5. Create a new Pull Request.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkate8382%2Ffrontend-pro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkate8382%2Ffrontend-pro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkate8382%2Ffrontend-pro/lists"}