/queue

SAVE MONEY AND BUY USDT API . built with( TypeScript, Express, Redis , Mongo , Bull ) -> https://secret-taiga-84954.herokuapp.com/.

Primary LanguageTypeScript

Queue API

Queue API for the queue Application which is a savings platform for fait & cryptocurrency

Usage

Rename ".env.example" to ".env" and update the values/settings to your own

Install Dependencies

Run

npm i

or

npm install

Run Application

# Run in dev mode
npm run start:dev

# Run in production mode
npm run start

Folder Strucure

📦 queue
├─ .env.example
├─ .eslintignore
├─ .eslintrc.json
├─ .gitignore
├─ .prettierrc.json
├─ .vscode
│  â””─ settings.json
├─ Procfile
├─ jest.config.js
├─ mocks
│  â””─ index.ts
├─ nodemon.json
├─ package.json
├─ readme.md
├─ seed
│  â”œâ”€ data
│  â”‚  â”œâ”€ Card.json
│  â”‚  â”œâ”€ CoinRequest.json
│  â”‚  â”œâ”€ EmailVerification.json
│  â”‚  â”œâ”€ Savings.json
│  â”‚  â”œâ”€ Transaction.json
│  â”‚  â””─ User.json
│  â”œâ”€ extractor.ts
│  â””─ seeder.ts
├─ src
│  â”œâ”€ Processors
│  â”‚  â”œâ”€ email.ts
│  â”‚  â”œâ”€ flw_webhook.ts
│  â”‚  â””─ paymentCharge.ts
│  â”œâ”€ app.ts
│  â”œâ”€ config
│  â”‚  â”œâ”€ bull.ts
│  â”‚  â”œâ”€ database.ts
│  â”‚  â”œâ”€ index.ts
│  â”‚  â””─ redis.ts
│  â”œâ”€ controllers
│  â”‚  â”œâ”€ auth.controller.ts
│  â”‚  â”œâ”€ card.controller.ts
│  â”‚  â”œâ”€ coin.controller.ts
│  â”‚  â”œâ”€ savings.controller.ts
│  â”‚  â”œâ”€ trasactions.controller.ts
│  â”‚  â””─ webhook.controller.ts
│  â”œâ”€ index.ts
│  â”œâ”€ jobs
│  â”‚  â””─ index.ts
│  â”œâ”€ middleware
│  â”‚  â”œâ”€ error.ts
│  â”‚  â””─ index.ts
│  â”œâ”€ models
│  â”‚  â”œâ”€ card.model.ts
│  â”‚  â”œâ”€ coinRequest.model.ts
│  â”‚  â”œâ”€ emailVerification.model.ts
│  â”‚  â”œâ”€ savings.model.ts
│  â”‚  â”œâ”€ transaction.model.ts
│  â”‚  â””─ user.model.ts
│  â”œâ”€ routes
│  â”‚  â”œâ”€ auth.ts
│  â”‚  â”œâ”€ card.ts
│  â”‚  â”œâ”€ email.ts
│  â”‚  â”œâ”€ index.ts
│  â”‚  â”œâ”€ misc.ts
│  â”‚  â”œâ”€ savings.ts
│  â”‚  â””─ transaction.ts
│  â”œâ”€ services
│  â”‚  â”œâ”€ auth.service.ts
│  â”‚  â”œâ”€ binance.service.ts
│  â”‚  â”œâ”€ card.service.ts
│  â”‚  â”œâ”€ email.service.ts
│  â”‚  â”œâ”€ flutterwave.service.ts
│  â”‚  â”œâ”€ savings.service.ts
│  â”‚  â””─ webhook.service.ts
│  â”œâ”€ utils
│  â”‚  â”œâ”€ error.ts
│  â”‚  â””─ index.ts
│  â””─ validator
│     â”œâ”€ auth.validator.ts
│     â”œâ”€ card.validator.ts
│     â”œâ”€ index.ts
│     â””─ savings.validator.ts
├─ test
│  â””─ binance.test.ts
└─ tsconfig.json

Version: 1.0.4

License: MIT