This boilerplate project is crafted specifically for the Webflow Developers community, offering a seamless, ready-to-use environment integrated with Firebase and DevLink. It encompasses state management, authentication methods, and a fundamental app structure, all complemented by a pre-configured Webflow template.
Here's a friendly guide on how to set up the project, including all the necessary assets to get started.
It is recommended to fork the repository if you intend to build upon it, though cloning for testing purposes is also advisable. Below are the commands to familiarize yourself with running a project using Next.js, which is similar to other frameworks:
git clone https://github.com/Azwedo/devlink-with-firebase
cd devlink-with-firebase
npm install
npm run dev
In this project, variables are utilized to enhance security, facilitate project sharing, enable deployment, among other functionalities. Listed below are the .env variables employed, predominantly sourced from Webflow and Firebase:
# Firebase
NEXT_PUBLIC_FB_API_KEY="..."
NEXT_PUBLIC_FB_AUTH_DOMAIN="..."
NEXT_PUBLIC_FB_PROJECT_ID="..."
NEXT_PUBLIC_FB_STORAGE_BUCKET="..."
NEXT_PUBLIC_FB_MESSAGING_SENDER_ID="..."
NEXT_PUBLIC_FB_APP_ID="..."
# Webflow
NEXT_PUBLIC_WF_SITE_ENDPOINT="..."
NEXT_PUBLIC_WF_AUTH_TOKEN="..."
NEXT_PUBLIC_WF_SITE_ID="..."
In this project, Firebase Auth is utilized to configure authentication for users via DevLink. Below are the steps to create a project, the necessary requirements, and the procedure to retrieve environmental variables:
Here is the list on how to setup the project and variables:
@webflow/webflow-cli -g
to get the Webflow CLI.Ensure that you only export components that have been published in Webflow. To do this, click outside the updated components and make sure to publish them. Note that publishing the components does not immediately update the codebase. To synchronize them, execute npm run sync
.
This project is available for free use, and all its assets are licensed under MIT, allowing for extensive utilization. We sincerely thank you for reviewing and using our repository. In case of encountering any bugs, please feel free to report them here. Additionally, we welcome open Pull Requests to facilitate enhancements, making the project better and more accessible for others.
This project and all its assets are licensed under the MIT License, allowing for extensive utilization.