credit-card-simulator

所属分类:自动驾驶
开发工具:TypeScript
文件大小:0KB
下载次数:0
上传日期:2023-11-29 01:40:25
上 传 者sh-1993
说明:  使用Next.js TypeScript、tRPC和MySQL(PlanetScale)构建的信用卡模拟器应用程序
(Credit card simulator app built using Next.js TypeScript, tRPC, and MySQL (PlanetScale))

文件列表:
.env.example (630, 2023-11-28)
.eslintrc.cjs (1001, 2023-11-28)
.npmrc (38, 2023-11-28)
next.config.mjs (491, 2023-11-28)
package.json (1811, 2023-11-28)
pnpm-lock.yaml (309308, 2023-11-28)
postcss.config.cjs (107, 2023-11-28)
prettier.config.mjs (177, 2023-11-28)
prisma/ (0, 2023-11-28)
prisma/schema.prisma (861, 2023-11-28)
prisma/zodSchemas/ (0, 2023-11-28)
prisma/zodSchemas/schemas.ts (228, 2023-11-28)
public/ (0, 2023-11-28)
public/favicon.ico (15406, 2023-11-28)
src/ (0, 2023-11-28)
src/components/ (0, 2023-11-28)
src/components/AvailableBalance.tsx (5431, 2023-11-28)
src/components/PayableBalance.tsx (5351, 2023-11-28)
src/components/PendingTransactions.tsx (12904, 2023-11-28)
src/components/SettledTransactions.tsx (9981, 2023-11-28)
src/components/icons/ (0, 2023-11-28)
src/components/icons/ChevronDownIcon.tsx (577, 2023-11-28)
src/components/icons/PlusIcon.tsx (571, 2023-11-28)
src/components/icons/SearchIcon.tsx (711, 2023-11-28)
src/components/icons/VerticalDotsIcon.tsx (575, 2023-11-28)
src/components/icons/types.ts (115, 2023-11-28)
src/components/ui/ (0, 2023-11-28)
src/components/ui/NavBar.tsx (408, 2023-11-28)
src/env.mjs (1528, 2023-11-28)
src/middleware.ts (427, 2023-11-28)
src/pages/ (0, 2023-11-28)
src/pages/_app.tsx (562, 2023-11-28)
src/pages/api/ (0, 2023-11-28)
src/pages/api/trpc/ (0, 2023-11-28)
src/pages/api/trpc/[trpc].ts (543, 2023-11-28)
src/pages/index.tsx (1426, 2023-11-28)
src/server/ (0, 2023-11-28)
src/server/api/ (0, 2023-11-28)
... ...

## Getting Started ### 1. Install `pnpm` If you do not have `pnpm` installed, you can install it globally using npm (or brew): ```bash npm install -g pnpm ``` ### 2. Clone the Repository Clone the repo: ```bash git clone https://github.com/xinanrahman/credit-card-simulator.git cd credit-card-simulator ``` ### 3. Install Dependencies Install the required dependencies using pnpm: ```bash pnpm install ``` ### 4. Environment Variables You should receive the necessary environment variables in a .env.example file via email. Once received, rename the file to .env after placing it at the root of the project directory. ### 5. Set Up Prisma Initialize Prisma to set up your database schema: ```bash pnpm db:push ``` You can also use Prisma Studio to visually manipulate the local database: ```bash pnpm db:studio ``` ### 6. Start the Development Server ```bash pnpm dev ``` The application will be available at http://localhost:3000 or your default port for running apps locally.

近期下载者

相关文件


收藏者