Skip to content

Core API service for Tipbox, built with Node.js, Express, TypeScript, and Prisma. Manages domain logic, authentication, events, and integrations with Web3, Redis, PostgreSQL, and external providers.

Notifications You must be signed in to change notification settings

tipboxco/tipbox-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tipbox Backend

This repository contains the backend API for the Tipbox application, built with Node.js, Express, and TypeScript. The architecture follows Domain-Driven Design (DDD) and Modular Monolith principles.

Getting Started

Quick Start (Docker - Önerilen)

# 1. Container'ları başlat
docker-compose up -d

# 2. Veritabanı şemasını uygula
docker-compose exec backend npx prisma db push

# 3. Seed data'yı yükle
docker-compose exec backend npm run db:seed

# 4. Prisma Studio'yu başlat (opsiyonel)
docker-compose exec backend npx prisma studio --port 5555

Detaylı kurulum rehberi için: docs/SETUP_GUIDE.md

Manual Installation

Requirements

  • Node.js (18+ recommended)
  • PostgreSQL
  • Redis

Installation

npm install
cp .env.example .env
# Fill in the .env file
npx prisma db push
npx prisma generate
npm run db:seed
npm run dev

Scripts

  • npm run dev — Development server (with nodemon)
  • npm run build — TypeScript build
  • npm run start — Runs the compiled code
  • npm run db:seed — Load seed data to database
  • npm run db:studio — Start Prisma Studio
  • npm run lint — Checks code with ESLint
  • npm run format — Formats code with Prettier

Directory Structure

src/
  domain/
  application/
  infrastructure/
  interfaces/

Test Credentials

After running seed, you can use these test accounts:

  • Email: omer@tipbox.co
  • Password: password123

For more test accounts, see docs/SETUP_GUIDE.md

Documentation

Contribution

Pull requests and contributions are welcome!

About

Core API service for Tipbox, built with Node.js, Express, TypeScript, and Prisma. Manages domain logic, authentication, events, and integrations with Web3, Redis, PostgreSQL, and external providers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •