{"id":16158898,"url":"https://github.com/markkos89/securitize-digital-wallet-dashboard","last_synced_at":"2025-04-07T02:25:30.744Z","repository":{"id":212384333,"uuid":"730629256","full_name":"Markkos89/securitize-digital-wallet-dashboard","owner":"Markkos89","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-15T02:07:20.000Z","size":87,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T07:33:01.692Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/Markkos89.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":"2023-12-12T10:38:24.000Z","updated_at":"2023-12-13T23:10:38.000Z","dependencies_parsed_at":"2023-12-14T01:27:22.731Z","dependency_job_id":"2627a418-1ab8-4e3d-b152-78f90f17c831","html_url":"https://github.com/Markkos89/securitize-digital-wallet-dashboard","commit_stats":null,"previous_names":["markkos89/securitize-digital-wallet-dashboard"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Markkos89%2Fsecuritize-digital-wallet-dashboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Markkos89%2Fsecuritize-digital-wallet-dashboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Markkos89%2Fsecuritize-digital-wallet-dashboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Markkos89%2Fsecuritize-digital-wallet-dashboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Markkos89","download_url":"https://codeload.github.com/Markkos89/securitize-digital-wallet-dashboard/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247579752,"owners_count":20961484,"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-10-10T01:55:23.678Z","updated_at":"2025-04-07T02:25:30.723Z","avatar_url":"https://github.com/Markkos89.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Turborepo NestJS React Template\n\nThis template serves as a ready-to-use monorepo for full stack development, combining the power of [NestJS](https://nestjs.com/) for backend development and [React](https://reactjs.org/) for the frontend. It's an ideal starting point for developers looking to build scalable full-stack applications with a streamlined setup process.\n\n## Features\n\n### Applications\n\n- `api`: a [NestJS](https://nestjs.com/) backend\n- `web`: a [React](https://reactjs.org/) bundled with [Vite](https://vitejs.dev/) frontend\n\nThe `web` application is served statically by the `api` application thanks to `@nestjs/serve-static`.\n\n```ts\nimport { Module } from '@nestjs/common';\nimport { ServeStaticModule } from '@nestjs/serve-static';\nimport { join } from 'path';\n\nimport { AppController } from './app.controller';\nimport { AppService } from './app.service';\n\n@Module({\n  imports: [\n    ServeStaticModule.forRoot({\n      rootPath: join(__dirname, '..', '..', 'web', 'dist'),\n      exclude: ['api/*'],\n    }),\n  ],\n  controllers: [AppController],\n  providers: [AppService],\n})\nexport class AppModule {}\n```\n\nThe `api` is proxied by the `web` application thanks to [Vite](https://vitejs.dev/)'s [proxy](https://vitejs.dev/config/#server-proxy) option.\n\n```ts\nimport react from '@vitejs/plugin-react-swc';\nimport { resolve } from 'path';\nimport { defineConfig, loadEnv } from 'vite';\n\n// https://vitejs.dev/config/\nexport default defineConfig(({ mode }) =\u003e {\n  const { CLIENT_PORT, SERVER_URL } = loadEnv(mode, process.cwd(), '');\n\n  return {\n    plugins: [react()],\n    resolve: {\n      alias: [{ find: '~', replacement: resolve(__dirname, 'src') }],\n    },\n    server: {\n      port: Number(CLIENT_PORT),\n      proxy: {\n        '/api': {\n          target: SERVER_URL,\n          changeOrigin: true,\n        },\n      },\n    },\n  };\n});\n```\n\n### Packages\n\n- `database`: a [Prisma](https://www.prisma.io/) package for database access\n- `eslint-config`: shared [ESLint](https://eslint.org/) configuration\n- `typescript-config`: shared [TypeScript](https://www.typescriptlang.org/) configuration\n\nEach application and package is 100% type-safe thanks to [TypeScript](https://www.typescriptlang.org/).\n\n## Getting Started\n\n### Prerequisites\n\n- [Node.js](https://nodejs.org/en/) (v20.9.0 or higher)\n- [Pnpm](https://pnpm.io/) (v8.11.0 or higher)\n- _(Optional) [Docker](https://www.docker.com/) (v24.0.6 or higher) (if you don't have a database server)_\n\n### Installation\n\n1. Clone the repo\n\n   ```sh\n   git clone https://github.com/LaulauChau/turborepo-nestjs-react-template\n   ```\n\n2. Install dependencies\n\n   ```sh\n   pnpm install\n   ```\n\n3. Create an `.env.local` file from the `.env.example` file and fill in the environment variables\n\n   ```sh\n   cp .env.example .env.local\n   ```\n\n4. Update the Prisma schema at `packages/database/prisma/schema.prisma` to match your database schema\n   \u003cbr /\u003e\n5. Generate the Prisma client\n\n   ```sh\n   pnpm run generate\n   ```\n\n6. Build the project\n\n   ```sh\n   pnpm run build\n   ```\n\n7. Run the development server\n\n   ```sh\n   pnpm run dev\n   ```\n\n8. _(Optional) Run the database in a Docker container_\n\n   ```sh\n   docker-compose up -d\n   ```\n\n## License\n\nDistributed under the MIT License. See `LICENSE` for more information.\n\n## Contributing\n\nContributions are welcome! Feel free to open an issue or submit a pull request if you have any questions or suggestions.\n\n## Troubleshooting\n\nFor common issues related to the setup and usage of this template, refer to the [Turborepo official documentation](https://turbo.build/repo/docs).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkkos89%2Fsecuritize-digital-wallet-dashboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkkos89%2Fsecuritize-digital-wallet-dashboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkkos89%2Fsecuritize-digital-wallet-dashboard/lists"}