This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm install
# or
yarn
# or
pnpm install
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.
A single API Route is responsible for creating a token for file uploads. Make sure to rename .env.example to .env and get your token.