Links

Create-IPFS-app

Learn how to create an IPFS app hosted on Filebase.

What is create-ipfs-app?

create-ipfs-app is a GitHub package created by developer Alex Bakers that provides a simple and streamlined way to deploy a complete decentralized application on IPFS through Filebase.
Read below to learn how to use create-ipfs-app with Filebase.

Prerequisites:

  • Sign up for a free Filebase account.
  • Have your Filebase Access and Secret Keys. Learn how to view your access keys here.
  • Create a Filebase IPFS Bucket. Learn how to create a bucket here.
Special thanks to the developer of this GitHub repo, Alex Bakers.

1. Clone the GitHub repository, create-ipfs-dapp:

git clone https://github.com/alexbakers/create-ipfs-app.git

2. Navigate into the newly cloned directory.

cd create-ipfs-dapp

3. Create a new dApp using Filebase:

npx create-ipfs-app my-ipfs-app --filebase FILEBASE_API_KEY:FILEBASE_API_SECRET:FILEBASE_BUCKET_NAME
Replace the following values:
  • FILEBASE_API_KEY: Filebase Access Key
  • FILEBASE_API_SECRET: Filebase Secret Key
  • FILEBASE_BUCKET_NAME: Filebase IPFS Bucket Name

4. Once installed, navigate into the app’s directory:

cd my-ipfs-app

5. Build your app with the command:

npm run build

6. Then deploy your app on Filebase with the command:

npm run deploy:filebase
You will receive the following output:

7. By default, your app will look like this:

8. If you navigate to the Filebase web console and view your IPFS bucket, you will see your dApp folder:

If you have any questions, please join our Discord server, or send us an email at [email protected]