clip-master
is an application that offers REST APIs for managing video files, including features for uploading, trimming, merging, and sharing videos.
These instructions will help you set up the project on your local machine for development and testing purposes.
- Node.js (v18 or higher)
- Yarn (v1.22 or higher)
- User Authentication
- Admin Management
- Video Upload
- Video Trimming
- Video Merging
- Video Download
- Node.js
- Express.js
- TypeScript
- SQLite (via Prisma ORM)
- fluent-ffmpeg for video processing
- Swagger for API Documentation
-
Clone the repository:
git clone https://github.com/probablyarth/clip-master.git cd clip-master
-
Install the dependencies:
yarn
-
Set up the database:
npx prisma migrate dev
-
Copy environment variables to .env:
cp .env.example .env
-
Start the development server:
yarn dev
-
The server will be running on
http://localhost:8000
.
To run the linter:
```bash
yarn lint
```
-
To run the test suite:
yarn test
-
Build the application:
yarn build
-
Start the production server:
yarn start
The API documentation is available via Swagger UI. You can access it at: https://app.swaggerhub.com/apis/BINODLABS/clip_master/1.0.0
This project is licensed under the MIT License. See the LICENSE file for details.