{"id":24911261,"url":"https://github.com/basinghse/nest-react-monorepo","last_synced_at":"2026-04-11T13:03:16.009Z","repository":{"id":275272667,"uuid":"871839847","full_name":"basinghse/nest-react-monorepo","owner":"basinghse","description":"A template for a performant monorepo","archived":false,"fork":false,"pushed_at":"2025-02-01T09:42:58.000Z","size":13244,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T02:51:46.365Z","etag":null,"topics":["authentication","monorepo","nest","react","supabase","typescript","vite"],"latest_commit_sha":null,"homepage":"https://nest-react-monorepo-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/basinghse.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-10-13T04:50:06.000Z","updated_at":"2025-02-01T09:43:02.000Z","dependencies_parsed_at":"2025-02-01T10:37:13.137Z","dependency_job_id":null,"html_url":"https://github.com/basinghse/nest-react-monorepo","commit_stats":null,"previous_names":["basinghse/nest-react-monorepo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/basinghse/nest-react-monorepo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basinghse%2Fnest-react-monorepo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basinghse%2Fnest-react-monorepo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basinghse%2Fnest-react-monorepo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basinghse%2Fnest-react-monorepo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/basinghse","download_url":"https://codeload.github.com/basinghse/nest-react-monorepo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basinghse%2Fnest-react-monorepo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260418974,"owners_count":23006187,"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":["authentication","monorepo","nest","react","supabase","typescript","vite"],"created_at":"2025-02-02T04:18:57.045Z","updated_at":"2025-12-30T22:31:13.461Z","avatar_url":"https://github.com/basinghse.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nest-react-monorepo\n\nA full stack appliation with user authentication and lightning fast build times.\n\n## Architecture\n\n- [React](https://react.dev/reference/react) frontend built with [vite](https://vitejs.dev) as a Single Page Application (SPA)\n  - [Frontend](apps/web)\n- [NestJS](https://docs.nestjs.com/first-steps) backend which serves up the frontend\n  - [Backend](apps/api)\n- [Supabase](https://supabase.com/docs) (free Firebase alternative) for user authentication. It can also provide a database\n- [Turborepo](https://turbo.build/repo/docs) for managing the frontend and backend together\n\n## Re-creating this project\n\nLow level details may be omitted in the steps below. You are encouraged to:\n\n1. Look through the final code or the commit history and try to work it out for yourself\n2. Refer to the latest documentation\n3. Create an issue or reach out for help\n\n### Steps\n\n- Initialise project and define package.json\n  - `npm init`\n- Install turbo monorepo\n  - `npm install -D turbo`\n- Create a `turbo.json` file in root\n  - Read: latest turbo docs\n- Setup workspaces folder/s in `package.json`\n  - Read: what is workspaces?\n- Create the workspace folder in your root directory\n- Create backend\n  - Install nest global cli with `npm install -g @nestjs/cli`\n  - Navigate to workspace folder\n  - Run `nest new api --skip-git`\n    - `--skip-git` is important if your project already has git initialised to prevent a nested git repository\n- Create frontend\n  - Navigate to workspace folder if not already there\n  - Clone the following template with your desired folder name and remove the `.git` directory created: \u003chttps://github.com/mmvergara/react-supabase-auth-template\u003e\n    - `git clone --no-git https://github.com/mmvergara/react-supabase-auth-template web`\n    - `rm -rf web/.git`; or navigate and delete via finder/file explorer\n- Setup a Supabase project and connect it with the frontend using the instructions [here](apps/web//README.md#getting-started)\n- In the backend `package.json` - update `start:dev` script to `dev`\n  - This allows both dev scripts to be run together with turbo (`npm run dev`)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasinghse%2Fnest-react-monorepo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasinghse%2Fnest-react-monorepo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasinghse%2Fnest-react-monorepo/lists"}