Next.js .CAR File Upload
Learn how to configure Next.js .car File Upload for use with Filebase.
What is Next.js .car File Upload?
1. Start by cloning the Github Repository:
2. Navigate into the filebase-nextjs-example directory.
filebase-nextjs-example directory.3. Create an .env.local file similar to .env.example.
.env.local file similar to .env.example.4. In the env.local file, input the following text:
env.local file, input the following text:5. Run yarn install, then yarn dev to start the Next.js app at localhost:3000.
yarn install, then yarn dev to start the Next.js app at localhost:3000.6. Navigate to localhost:3000 in a web browser.
localhost:3000 in a web browser.
7. Choose any .png or .jpg files to be uploaded to your Filebase bucket.
Last updated