ed81a14922
Found that this rule was added but all options are set to `false` so it doesn't do anything. Started with enabling it for examples to ensure minimal breaking of existing PRs. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `pnpm lint` - [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples) |
||
---|---|---|
.. | ||
components | ||
pages | ||
public | ||
style | ||
.env.local.example | ||
.gitignore | ||
next-env.d.ts | ||
next.config.js | ||
package.json | ||
README.md | ||
tsconfig.json |
api.video video uploader
This video uploader and playback app is built with Next.js and api.video, the video first API.
Demo
https://apivideo-uploader.vercel.app/
Deploy your own
Deploy the example using Vercel:
How to use
Execute create-next-app
with npm or Yarn to bootstrap the example:
npx create-next-app --example with-apivideo-upload with-apivideo-upload-app
yarn create next-app --example with-apivideo-upload with-apivideo-upload-app
pnpm create next-app --example with-apivideo-upload with-apivideo-upload-app
Deploy it to the cloud with Vercel (Documentation).
Getting started
1. Create an api.video free account
Go to dashboard.api.video, log in or create a free account. You can choose to stay in sandbox and have watermark over your videos, or enter in production mode and take advantage of all the features without limitations.
2. Get you API key
Once in the dashboard, find your API keys directly in the /overview
or navigate to /apikeys
with the "API Keys" button in the side navigation.
Copy your API key, and paste it in .env.local.example
as value for API_KEY
.
Rename .env.local.example
to .env.local
.
You can now try the application locally by running npm run dev
, yarn dev
or pnpm dev
from the root directory.
3. Deployment
First, push your app to GitHub/GitLab or Bitbucket
The, go to Vercel and import your new repository.
Add an environment variable with name API_KEY
and your API key for value.
Click on deploy 🎉