Skip to content

Latest commit

 

History

History
109 lines (82 loc) · 4.78 KB

README.md

File metadata and controls

109 lines (82 loc) · 4.78 KB

ChatterPay

ChatterPay is a Wallet for WhatsApp that integrates AI and Account Abstraction, enabling any user to use blockchain easily and securely without technical knowledge.

Built for: Level Up Hackathon - Ethereum Argentina 2024 & Ethereum Uruguay 2024

Built By: mpefaur, tomasfrancizco, TomasDmArg, gonzageraci, dappsar

Components:

About this Repo

This repository contains the backend API source code.

Built With:

Getting Started

1. Install these Requirements:

2. Clone repository:

git clone https://github.com/P4-Games/ChatterPay-Backend
cd ChatterPay-Backend

3. Complete .env file:

Create a .env file in the root folder and populate it with keys and values described in .env.example file.

4. Install Dependencies:

bun install

5. Start Server:

bun run dev

Then, open in: http://localhost:3000.

Additional Info

Project Structure

  • src/:
    • api/: Definition of API paths.
    • controllers/: Helpers that interact with the DB and other services.
    • services/: Business logic.
    • models/: Data model definitions.
    • middleware/: Custom middleware.
    • utils/: Utility functions.
    • config/: Application configurations.
    • types/: Type and interface definitions.
    • constants/: Constants and enumerations.
    • errors/: Custom error classes.
    • index.ts: Application entry point.
  • tests/: Unit Tests.
  • .gitignore: Specifies files and directories ignored by Git.
  • package.json: Project configuration and dependencies.
  • tsconfig.json: TypeScript configuration.
  • README.md: This File.
  • .env.example: Example Environment File.

Source Code Documentation

  • We use JSDoc (in english) to document our code.