I have designed a website with Webflow. Now, I want to import the codes to the my team’s Github. Then I should make a connection between the front and project’s database by my own APIs. Is all of these process feasible? if not, what is the other solution?
Tnx for your help
My preferred approach is to write all of the project code as typescript, using github codespaces as the dev environment. This makes it easy to separate dev test and prod environments.
Depending on your update processes, Netlify or jsDelivr are good for the code delivery.
However if you really want to make it easy to do dev and testing, you’ll want a reverse proxy that allows you to intelligently swap out code sets.
I set this up regularly for agency clients, give me a shout if you need a build and some tutorials.
Tnx Meme for reply. I want to know is it possible to import the codes from Webflow, to the company Git, directly.
I can not type the codes my own, I want to import them from Webflow, then linking the front to the company’s database with our backend APIs.
Yes, you can.
But to do so you have to manually “export” the Webflow site. You’ll get a
.zip file to download. From there you can add it to Github or wherever you like. You then have full control to integrate it with your own company’s database, with your own backend APIs.
If the Git part isn’t a requirement, and you can host it on Webflow, you can still integrate it with your own backend APIs and serve that data from your company’s database.
There are two strategies here depending on what it is you’re trying to build.
- Host your site on Webflow, host your code externally. This allows you to build large complex systems and manage your code much more efficiently, but still have Webflow features like CMS, ECommerce, Memberships, etc.
- Export everything, which strips out all of those features including all CMS data and collection lists. You’ll have the static pages and assets of your site, with your custom code as well, whereever you used it. This would be a starting point for building a self-hosted integration to your API.