Skip to content

Elsa-tech2026/clips-backend

 
 

Repository files navigation

<<<<<<< HEAD

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Discord Backers on Open Collective Sponsors on Open Collective Donate us Support us Follow us on Twitter

Description

Nest framework TypeScript starter repository.

Project setup

$ npm install

Compile and run the project

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Run tests

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Deployment

When you're ready to deploy your NestJS application to production, there are some key steps you can take to ensure it runs as efficiently as possible. Check out the deployment documentation for more information.

If you are looking for a cloud-based platform to deploy your NestJS application, check out Mau, our official platform for deploying NestJS applications on AWS. Mau makes deployment straightforward and fast, requiring just a few simple steps:

$ npm install -g @nestjs/mau
$ mau deploy

With Mau, you can deploy your application in just a few clicks, allowing you to focus on building features rather than managing infrastructure.

Resources

Check out a few resources that may come in handy when working with NestJS:

  • Visit the NestJS Documentation to learn more about the framework.
  • For questions and support, please visit our Discord channel.
  • To dive deeper and get more hands-on experience, check out our official video courses.
  • Deploy your application to AWS with the help of NestJS Mau in just a few clicks.
  • Visualize your application graph and interact with the NestJS application in real-time using NestJS Devtools.
  • Need help with your project (part-time to full-time)? Check out our official enterprise support.
  • To stay in the loop and get updates, follow us on X and LinkedIn.
  • Looking for a job, or have a job to offer? Check out our official Jobs board.

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.

ClipCash

Turn your long videos into short viral clips — automatically, with full control, and optional NFT ownership.

ClipCash helps content creators (YouTubers, podcasters, gamers, coaches…) save many hours of work by turning one long video into dozens or hundreds of short clips ready for TikTok, Instagram Reels, YouTube Shorts, and more.

You always stay in control:
→ Preview every clip
→ Choose which ones you like
→ Delete the bad ones
→ Then post only the good ones automatically

Bonus: you can also turn your best clips into NFTs on the Stellar network (very cheap & fast) so you truly own them and can earn royalties forever.

What makes ClipCash special?

  • Full preview & selection — most tools post random clips. ClipCash lets you see and pick only the best ones.
  • Automatic posting to 7+ platforms (TikTok, Instagram, YouTube Shorts, Facebook Reels, Snapchat Spotlight, Pinterest, LinkedIn)
  • Web2 + Web3 in one app — normal accounts + optional Stellar NFTs with royalties
  • Simple & beautiful interface — dark mode, clean design, easy to use

Main Features (MVP – 2026)

  • Upload long video or paste YouTube/TikTok link
  • AI creates 50–200 short clips (15–60 seconds each)
  • Preview screen: watch short previews, select / deselect / bulk delete
  • One-click post selected clips to multiple platforms
  • Earnings dashboard (shows money from all platforms)
  • Optional: mint selected clips as NFTs on Stellar (Soroban smart contracts)
  • Subscription plans + small revenue share (we take 5–10% only if you want)

Tech Stack – Simple Overview

Part Technology Why we chose it
Frontend Next.js 15 + React + Tailwind Fast, beautiful, mobile-friendly
Backend NestJS (TypeScript) Clean, organized, easy to grow
Database PostgreSQL (via Supabase or Prisma) Reliable & real-time updates
Queue / Jobs BullMQ + Redis Handles long AI & posting tasks
Social Posting Ayrshare One tool posts to all platforms
Blockchain Stellar Soroban (Rust) Very cheap fees, built-in royalties
AI Runway Gen-3 + Claude Finds the most viral moments

Project Folders (very simple view)

clipcash/ ├── backend/ ← The API server (NestJS) ├── frontend/ ← The website users see (Next.js) ├── contracts/ ← Stellar smart contracts (Rust) ├── docker-compose.yml ← Easy local setup (database + redis) └── README.md ← You are reading it right now 😄 text## Quick Start (Local Development)

1. Requirements

  • Node.js 18 or newer
  • Docker (recommended for database & redis)
  • Git

2. Clone & install

git clone https://github.com/your-username/clipcash.git
cd clipcash
3. Start everything with Docker (easiest)
Bashdocker-compose up -d
This starts:

PostgreSQL database
Redis (for background jobs)
Backend
Frontend

4. Or start manually
Backend:
Bashcd backend
cp .env.example .env
npm install
npm run start:dev
Frontend:
Bashcd frontend
cp .env.local.example .env.local
npm install
npm run dev
Open http://localhost:3000 in your browser.
Important Environment Variables
See .env.example files in backend/ and frontend/ folders.
Most important ones:
env# Backend
DATABASE_URL=postgresql://...
AYRSHARE_API_KEY=your-ayrshare-key
STELLAR_NETWORK=testnet

# Frontend
NEXT_PUBLIC_API_URL=http://localhost:3001
NEXT_PUBLIC_STELLAR_RPC=https://soroban-testnet.stellar.org

75929c98d5f7cdae28d637298d96261541cb730e

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 99.2%
  • JavaScript 0.8%