How to easily deploy your frontend project?
An opportunity. To learn and earn.
- For couple years already, availability to deploy frontend project grows.
- For couple years already, you can start completely free with just couple clicks.
- For couple years already, learning can be instantly skyrocketed with services I write here about.
At the time of writing, the latest player in this field is Cloudflare with its Pages.
It’s killer feature?
Can you imagine?
- You deploy your app using top-notch infrastructure.
- It is fast, free and easy.
- You can bring just one person or whole country to your app. Still, you pay nothing
In fact, it’s easier to host own project than ever. Trend is growing and will, most likely, will stay growing.
You can either use it (or similar) for self-development, learning or make it commercial project - help others fulfill their needs.
Personally, I use Vercel’s hosting most often.
- they’re intuitive,
- they are in my field (creators of next.js)
- Vercel (formerly Zeit) is probable first of the kind I’ve learned about. Yeah, that count’s too. If something fulfills my needs - why change it?
This blog is hosted on Vercel’s cloud (it’s AWS underneath). It’s powered by Hugo but Vercel’s capabilities are bigger. They allow ‘serverless’ functions, too.
Can I use these commercially?
Of course. This is one of such system’s goals. To help you. If you are trying out - for free.
Why is it free?
When you grow beyond ‘hobbyist’ limits - it’d be convenient for you to pay for such hosting. Free is for tryout and growing bonds between you and hosting provider.
What are players in the field?
To name a few. In fact this post is inspired by Devesh
Free Hosting platforms👇— Devesh (@Deveshb15) April 19, 2021
• Front end
- Netlify (netlify .com)
- GitHub Pages (github .com)
- Render (render .com)
- Surge (surge .sh)
- fleek (fleek .co)
• Back end
- Heroku (heroku .com)
- Firebase (firebase .com)
- Vercel (vercel .com)
- Glitch (glitch .com)
- Fly(fly .io)
There you find bigger list. This post is rather about possibilities.
What do I need to host such project?
Git repo is a must. Most supported (and most known) is GitHub. It depends on given provider, but it can be made with Bitbucket or Gitlab, too.
Select provider based on which provider meets your needs.
After you have your repo somewhere, you can set up new project. If you want to attach own domain to it - here’s an option, too.
If you haven’t ever attached own domain, it will be rather quick and smooth process.
To sum up, you need:
- git repository hosted on github-like service (it is a must)
- domain (it is optional, but recommended for projects meant to serve others)
You learn the best by practice. So go and host something.
I have hard time going back to regular server-like environment taking that it’s so easy to deploy apps the way above.
Show your project
What are you working on? Share your work on Twitter and mention me (@kardysm)