Production Tips
In this section I want to share with you some tips that I have learned when deploying projects to production.
Cloudflare
I recommend you use Cloudflare to protect your application.
It is free to get started, all you have to do is add your domain to Cloudflare and it will automatically protect your application.
If you have the budget, upgrade to a paid plan to get more security features like extra DDos protection, Web Application Firewall rules and more.
Be Careful with Vercel!
The developer experience of Vercel is great, but it is well know for having ridiculous pricing, especially for bandwidth.
That is why I recommend you put Cloudflare in front of Vercel, this way Cloudflare will cache your static assets and serve them to the users, and only when they are not cached, Vercel will serve them.
- Learn how to add a site to Cloudflare
- Learn how to set up the Web Application Firewall
- Learn about Rate Limiting Rules
Email Routing
Cloudflare has a free service called Email Routing, it allows you to create an email address using your domain and forward it to your personal email.
If your domain is example.com
you can create an email address like hello@example.com
to look more professional.
Email Routing is one way only
Email Routing is one way only, that means that people can send you emails to hello@example.com
but you can't send emails from hello@example.com
, for that you would need to have a paid plan on a Google Workspace or Microsoft 365 account.
Supabase Rate Limits
You can set and customize rate limits for your Supabase project by going to Authentication > Rate Limits
I can't wait to see what you build with Supaplate!
Good luck!
N.