{"id":18354767,"url":"https://github.com/siddhantprateek/fleet","last_synced_at":"2026-04-12T15:44:15.089Z","repository":{"id":194764999,"uuid":"690400019","full_name":"siddhantprateek/fleet","owner":"siddhantprateek","description":"Authentication Service and Realtime Resource Hit  🚀","archived":false,"fork":false,"pushed_at":"2023-09-14T18:04:28.000Z","size":886,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-15T16:50:11.946Z","etag":null,"topics":["expressjs","nestjs","reactjs","real-time","typescript","websocket"],"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/siddhantprateek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["siddhantprateek"]}},"created_at":"2023-09-12T06:01:38.000Z","updated_at":"2023-10-12T07:07:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"3b7ce6ab-6762-478f-a28d-beb6b69ec410","html_url":"https://github.com/siddhantprateek/fleet","commit_stats":null,"previous_names":["siddhantprateek/fleet"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddhantprateek%2Ffleet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddhantprateek%2Ffleet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddhantprateek%2Ffleet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddhantprateek%2Ffleet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/siddhantprateek","download_url":"https://codeload.github.com/siddhantprateek/fleet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248139369,"owners_count":21054082,"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":["expressjs","nestjs","reactjs","real-time","typescript","websocket"],"created_at":"2024-11-05T22:05:05.114Z","updated_at":"2026-04-12T15:44:15.009Z","avatar_url":"https://github.com/siddhantprateek.png","language":"TypeScript","funding_links":["https://github.com/sponsors/siddhantprateek"],"categories":[],"sub_categories":[],"readme":"# Fleet \n\n\u003e Take away home task\n\n- [Video Link](https://www.loom.com/share/86c217d5e3c04d7a9596c0a87a465f2e?sid=a3450f67-0496-48c0-b854-00ec0daa069f)\n\n## Architecture\n\n![](./assets/fleet-dg.png)\n\n## Application Tech Stack\n\n### For `Rest-svc`:\n- `Express.js`\n- `TypeScript`\n- `Prisma`\n- `Postgres` (Storing user data)\n- `Redis`\n\n### For `Comm-svc`:\n\n- `Nest.js` (Server-side framework)\n- `TypeScript`\n- `Mongo` (Storing user data)\n- `WebSocket` for real-time communication with clients\n\n## For `Client`\n\n- `React` (Client-side framework)\n- `Typescript`\n- `WebSocket-Client`\n\n## API Documentation\n\nExplore the Fleet API by referring to the [API Documentation](https://documenter.getpostman.com/view/16181974/2s9YC4UD7a) provided via Postman. This documentation contains detailed information about the available endpoints, request formats, and sample responses to help you interact with the API effectively.\n\n## Folder Structure\n```\n.\n├── comm_svc # Comm Service\n└── rest_svc # RESTful Service\n└── client   # Client Service\n├── Dockerfile\n├── docker-compose.yml\n├── README.md\n```\n\n**Run Docker Compose**\n\nTo start the required services (`Redis`, `Postgres`, and `MongoDB`), use the following command:\n```bash\ndocker-compose up -d\n```\n\n\n### Setting `dev` environment for `REST_SVC`\n\nTo get started with the `REST_SVC` component of the Fleet application, follow these steps:\n\n```bash\ncd rest_svc\nnpm install # resolve all dependencies\n```\n\n**Generate Prisma Client**\n\n- Generate the Prisma Client by running the following command:\n```bash\nnpx prisma generate\n```\nThis step allows you to start querying your database using Prisma.\n\n**Apply Database Migrations**\n\n- Apply any pending database migrations with the following command:\n ```bash\nnpx prisma migrate dev\n```\n\n## Setting `dev` environment for `comm-svc`\n\nTo get started with the `COMM_SVC` component of the Fleet application, follow these steps:\n\n```bash\ncd comm_svc\nnpm install # resolve all dependencies\n```\n\n### To start the `comm-svc` server \n```bash\nnpm run start:dev\n```\n\n## Setting up `client` environment\n\n- To install client side dependencies\n```bash\ncd client\nnpm install \n# or\nbun install\n```\n-  To start client application\n```bash\nnpm run start\n# \nbun run start\n```\n\n## Automating Requests to Server \n\nFor automating HTTP requests to a server.\n\n```bash\n./scripts/test-request.sh\n```\n\n\n## Author\n\n- [Siddhant Prateek Mahanayak](https://github.com/siddhantprateek)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddhantprateek%2Ffleet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiddhantprateek%2Ffleet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddhantprateek%2Ffleet/lists"}