{"id":18700668,"url":"https://github.com/manosbatsis/user-management-monorepo","last_synced_at":"2026-04-13T01:38:44.858Z","repository":{"id":239231087,"uuid":"798886986","full_name":"manosbatsis/user-management-monorepo","owner":"manosbatsis","description":"Fullstack user management playground with pnpM (and eventually Turborepo) monorepos, Prisma with NestJS and Next.js with Refine.","archived":false,"fork":false,"pushed_at":"2024-09-18T00:59:46.000Z","size":791,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-28T05:22:06.241Z","etag":null,"topics":["nestjs","nextjs","pnpm","pnpm-workspaces","prisma-orm","refine-dev"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/manosbatsis.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}},"created_at":"2024-05-10T17:23:41.000Z","updated_at":"2024-05-13T13:07:02.000Z","dependencies_parsed_at":"2024-12-28T05:20:38.229Z","dependency_job_id":"295c44a2-b208-4645-89c9-6883336d81a0","html_url":"https://github.com/manosbatsis/user-management-monorepo","commit_stats":null,"previous_names":["manosbatsis/user-management-monorepo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manosbatsis%2Fuser-management-monorepo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manosbatsis%2Fuser-management-monorepo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manosbatsis%2Fuser-management-monorepo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manosbatsis%2Fuser-management-monorepo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manosbatsis","download_url":"https://codeload.github.com/manosbatsis/user-management-monorepo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239565650,"owners_count":19660154,"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":["nestjs","nextjs","pnpm","pnpm-workspaces","prisma-orm","refine-dev"],"created_at":"2024-11-07T11:38:24.053Z","updated_at":"2025-11-08T22:30:32.153Z","avatar_url":"https://github.com/manosbatsis.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003eUser Management Monorepo\u003c/h1\u003e\n\n[![CI](https://github.com/manosbatsis/user-management-monorepo/actions/workflows/ci.yml/badge.svg)](https://github.com/manosbatsis/user-management-monorepo/actions/workflows/ci.yml)\n\nA sample to play around with [pnpM](https://pnpm.io/) (and eventually [Turborepo](https://turbo.build/)) monorepos, \n[Prisma](https://www.prisma.io/) with [NestJS](https://nestjs.com/) and [Next.js](https://nextjs.org/) \nwith [Refine](https://refine.dev/).\n\n\u003c!-- TOC --\u003e\n  * [Prerequisites](#prerequisites)\n  * [Configuration](#configuration)\n    * [Installation](#installation-)\n    * [Server](#server)\n    * [Database](#database)\n      * [With Local Postgres](#with-local-postgres)\n      * [With Docker Compose](#with-docker-compose)\n    * [Database Schema](#database-schema)\n  * [Run Tests](#run-tests)\n  * [Run Apps](#run-apps)\n    * [Start the Server](#start-the-server)\n    * [Start the Client](#start-the-client)\n    * [Login](#login)\n\u003c!-- TOC --\u003e\n\n## Prerequisites\n\n- Node v20.x\n- npm v10.x\n- pnpM v8.9.0\n- Docker Compose\n\n## Configuration\n\n### Installation \n\nStart by installing:\n\n```bash\npnpm install\n```\n\n### Server\n\nCopy the `src/assets/config-template.json` file as `src/assets/config.json`\n\n```bash\ncp packages/api/src/assets/config-template.json packages/api/src/assets/config.json\n```\n\nFeel free to edit settings in _config.json_ according to your environment requirements.\n\n\n### Database\n\n#### With Local Postgres\n\nIf you have a local postgres DB, copy the `packages/api/.env.template-local` file as `packages/api/.env`\n\n```bash\ncp packages/api/.env.template-local packages/api/.env\n```\n\n\u003e [!IMPORTANT]  \n\u003e Feel free to edit settings to match your environment requirements.\n\n#### With Docker Compose\n\nTo use docker compose for a postgres DB, copy the `packages/api/.env.template-compose` file as `packages/api/.env`\n\n```bash\ncp packages/api/.env.template-compose packages/api/.env\n```\n\nthen launch with\n\n\n```bash\ndocker-compose up\n```\n\n### Database Schema\n\nPush the database schema with \n\n```bash\npnpm run db:push\n```\n\nthen seed with sample data:\n\n```bash\npnpm run db:seed\n```\n\n## Run Tests\n\nTo run **unit** tests in all workspaces:\n\n```bash\npnpm run test\n```\n\nTo run **e2e** tests in all workspaces:\n\n```bash\npnpm run test:e2e\n```\n\nHTML test reports for your browser are published in _packages/*/output_.\n\n\u003e [!TIP]\n\u003e Test results are also published as the build summary in Github Actions and a comment in Pull Requests.\n\n\n## Run Apps\n\n### Start the Server\n\n```bash\npnpm run server\n```\n\n### Start the Client\n\n```bash\npnpm run client\n```\n\n### Login\n\nBrowse http://localhost:3001 and login with:\n\n- username: admin@test.com\n- password: Test123!\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanosbatsis%2Fuser-management-monorepo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanosbatsis%2Fuser-management-monorepo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanosbatsis%2Fuser-management-monorepo/lists"}