Skip to content

PayZen is a comprehensive financial application that allows users to add money to wallet and perform peer-to-peer transactions.

License

Notifications You must be signed in to change notification settings

royaals/Payzen-wallet

Repository files navigation

PayZen

PayZen is a comprehensive financial application that allows users to add money to wallet and perform peer-to-peer transactions.

Features

  • Peer-to-Peer Transactions: The application supports direct transactions between users, making it easy to send and receive money.
  • Transaction History: Users can view their transaction history, providing a clear record of all their financial activities.
  • User Authentication: The application supports user sign-up/sign-in via email or social media accounts.
  • Profile Management: This includes user onboarding and the ability for users to update their profiles.

Technologies Used

  • Next.js
  • TypeScript
  • Prisma
  • NextAuth
  • Turborepo
  • PostgreSQL
  • Node.js
  • Express.js
  • Nginx (Reverse Proxy)
  • Docker
  • jest
  • Docker
  • Kubernetes
  • AWS
  • New Relic

Development Setup

  1. Clone the repository:

    git clone https://github.com/royaals/Payzen-wallet.git
  2. Install the dependencies:

    npm install
  3. Navigate to the DB directory:

     cd packages/db
    • Rename .env.example to .env in the packages/db and update the following values:

    • DATABASE_URL: This should be your PostgreSQL database URL. For example, if you're using Docker, it would look something like this: postgresql://postgres:yourpassword@localhost:5432/postgres. If you're using a PostgreSQL provider like Neon.tech, Supabase, Aiven, etc., use the URL they provide.

  4. Run Prisma migrations in the packages/db. This command will apply the database schema changes:

    npx prisma migrate dev --name init
  5. Generate the Prisma client in the packages/db. This command will generate the Prisma client code:

    npx prisma generate
  6. Start the development server:

    npm run dev

Using Docker for Local Development

  1. Clone the repository:

    git clone https://github.com/royaals/Payzen-wallet.git
  2. Install the dependencies:

    npm install
  3. Copy the frontend Dockerfile:

    cp ./docker/Dockerfile.frontend ./Dockerfile
  4. Build the Docker image:

    docker build -t payzen .
  5. Run the Docker container:

    docker run -p 3000:3000 -e DATABASE_URL=your_database_url payzen

About

PayZen is a comprehensive financial application that allows users to add money to wallet and perform peer-to-peer transactions.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published