API for sharing media or data on the internet.
src
: Source codetests
: Root for teststypes
: Source for typessrc/routes
: Routes for different type of resourcessrc/utils
: Utility functions
- Make sure you've nodejs and npm installed.
- Installed dependencies
npm install
- Start development server
npm run dev
npm run build
: Compiles the typescript filesnpm run dev
: Starts development server in watch modenpm run lint
: Lints the source files with eslintnpm run lint:fix
: Lints the source files, and automatically fixes the fixable issuesnpm start
: Start the server with compiled filesnpm test
: Runs the test suitenpm run test:coverage
: Runs the test suite and generates a coverage reportnpm run test:watch
: Starts the test suite in watch modenpx cleanup
: Cleans up uploads folder (Delete expired files)