{"id":23190318,"url":"https://github.com/felipstein/simplerepo","last_synced_at":"2025-04-05T06:41:46.344Z","repository":{"id":201121437,"uuid":"707013055","full_name":"Felipstein/simplerepo","owner":"Felipstein","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-19T17:26:40.000Z","size":322,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-10T14:25:57.919Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://simplerepo-web.vercel.app","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/Felipstein.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-10-19T03:45:06.000Z","updated_at":"2023-10-19T04:03:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"cd2cf036-b02c-4e1e-a74e-391cd272c0ff","html_url":"https://github.com/Felipstein/simplerepo","commit_stats":null,"previous_names":["felipstein/simplerepo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Felipstein%2Fsimplerepo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Felipstein%2Fsimplerepo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Felipstein%2Fsimplerepo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Felipstein%2Fsimplerepo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Felipstein","download_url":"https://codeload.github.com/Felipstein/simplerepo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299791,"owners_count":20916186,"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":"2024-12-18T12:14:05.861Z","updated_at":"2025-04-05T06:41:46.327Z","avatar_url":"https://github.com/Felipstein.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Real-Time Cursor Tracker\n\nReal-Time Cursor Tracker is an innovative test project designed to track the cursor movements of connected users in real-time using WebSockets. The project is structured as a monorepo, consisting of a web application and a server.\n\n![Real-Time Cursor Tracker Example](https://i.imgur.com/QSeFg3z.gif)\n\n## Features\n- **Real-time Cursor Movement**: View live cursor movements of any connected user.\n- **NextJS**: For server-side rendering and optimal frontend performance.\n\n## Project Structure\n- `apps/web`: Contains the NextJS frontend application.\n- `apps/server`: Houses the ExpressJS server.\n\n### Server Endpoints\n- **GET /**: To check the server's liveliness.\n- **GET /users_connected**: Retrieve information on connected users and their cursor positions.\n\n## Getting Started\n\n### Prerequisites\n1. Ensure you have [Yarn](https://yarnpkg.com/) installed.\n2. Clone this repository:\n   ```\n   git clone https://github.com/Felipstein/simplerepo.git\n   ```\n\n## Setup \u0026 Running with Monorepo Scripts\n\nYou can build and run both the web and server applications using the monorepo's central scripts.\n\n1. Install the dependencies:\n   ```\n   yarn\n   ```\n\n2. Create the necessary environment files as specified in the web and server READMEs.\n\n3. Build both projects with a single command:\n   ```\n   yarn build\n   ```\n\n4. Start both the web application and the server simultaneously:\n   ```\n   yarn start\n   ```\n\nAccess the web application at `http://localhost:3000` and the server at `http://localhost:3333`.\n\n### Monorepo Scripts\n\nHere are the scripts that allow you to build and run both parts of the project efficiently:\n\n```json\n{\n    \"build\": \"yarn build:server \u0026\u0026 yarn build:web\",\n    \"build:server\": \"yarn workspace @simplerepo/server build\",\n    \"build:web\": \"yarn workspace @simplerepo/web build\",\n    \"start\": \"concurrently \\\"yarn start:server\\\" \\\"yarn start:web\\\"\",\n    \"start:server\": \"yarn workspace @simplerepo/server start\",\n    \"start:web\": \"yarn workspace @simplerepo/web start\"\n}\n```\n\n---\n\nHappy tracking! If you find any issues or have suggestions, please open an issue or submit a pull request.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipstein%2Fsimplerepo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelipstein%2Fsimplerepo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipstein%2Fsimplerepo/lists"}