Checklist: 12 things to review before publishing your app to production
A practical list so you do not leave your project exposed: environment variables, HTTPS, database, backups, logs and monitoring. For anyone publishing their first app.
Publishing is the exciting part. What prevents scares is what you check before. This list works for any technology.
Security and configuration
- Zero secrets in the repository. Passwords, tokens and keys go in the server’s environment variables. If any ever got pushed to GitHub, consider it compromised and change it.
- Production mode on. Turn off debug mode: it shows code and configuration when something fails.
- HTTPS across the whole site. With a valid certificate and a redirect from HTTP. Guide: domain, DNS and HTTPS.
- Firewall with the minimum open. Usually only ports 22, 80 and 443. See how in Linux VPS from scratch.
- SSH key access, with no password and no direct root login.
- Private database. Never open to the internet. More in production database.
Data and continuity
- Automatic backups, with a copy off the server.
- A tested restore. A backup you have not restored is only a hope.
- User-uploaded files in a place that survives deployments (a volume or external storage), not inside the project folder.
Operations
- The app restarts by itself if it fails or the server reboots.
- Accessible logs with rotation, so they do not fill the disk.
- Monitoring and alerts. Even a free external check that alerts you if your site does not respond.
One extra: deployments without fear
If updating your app means logging in over SSH and copying files by hand, sooner or later you will forget a step. Automating it with a GitHub Actions workflow (upload code, install dependencies and restart) saves you mistakes and lets you update in a minute.
How many points do you meet?
If you ticked fewer than eight, do not worry: that is normal the first time. Book a free session and we will go through the list on your real project.
Frequently asked questions
What matters most if I have little time?
Three things: no secrets or passwords in the repository, HTTPS in use, and a database backup that you have tested restoring.
Do I need monitoring if my app is small?
Yes, even a basic one. A free external check that alerts you when your site does not respond saves you from hearing it from your users.