Next.js .CAR File Upload
Learn how to configure Next.js .car File Upload for use with Filebase.
Last updated
Was this helpful?
Learn how to configure Next.js .car File Upload for use with Filebase.
Last updated
Was this helpful?
Next.js .car File Upload is a tool developed to provide an easy, locally hosted interface for multiple image files to be uploaded to Filebase as a .CAR file.
Read below to learn how to use Next.js .car File Upload with Filebase.
git clone https://github.com/Dapponics/filebase-nextjs-example.git
filebase-nextjs-example
directory.cd filebase-nextjs-example
.env.local
file similar to .env.example
.env.local
file, input the following text:FILEBASE_ACCESS_KEY_ID=”FILEBASE_ACCESS_KEY_ID”
FILEBASE_SECRET_ACCESS_KEY=”FILEBASE_SECRET_ACCESS_KEY”
FILEBASE_BUCKET_NAME=”FILEBASE_BUCKET_NAME”
yarn install
, then yarn dev
to start the Next.js app at localhost:3000
.localhost:3000
in a web browser.These images will be uploaded under the same CID in your Filebase bucket.