# Launch checklist

A checklist for a web or mobile app before its first customers arrive: sign-in, payments, backups, error tracking, privacy and speed.

## Accounts and sign-in

- [ ] Each customer can see and change only their own data, and the server checks this on every request.
- [ ] Password reset, email change and account deletion all work, and each sends the email it should.
- [ ] Admin pages need both a sign-in and an admin role, and nothing in the public app links to them.
- [ ] Sign-in is rate limited, so nobody can try password after password against one account.

## Payments

- [ ] A declined or failed card leaves the order unpaid and tells the customer what to do next.
- [ ] A payment confirmed twice, or a webhook sent twice, is recorded once.
- [ ] Prices, discounts and taxes are worked out on the server, never taken from the browser.
- [ ] A full purchase and a refund have been run end to end in the payment provider's test mode.

## Data and backups

- [ ] The database is backed up automatically, and the backups are kept away from the database itself.
- [ ] A backup has been restored at least once, and the app was checked against the restored copy.
- [ ] Development and testing never touch the production database.

## Errors and releases

- [ ] Errors in the browser and on the server reach an error tracker, with enough detail to find the cause.
- [ ] Someone is alerted when the site goes down, and knows they are the one to fix it.
- [ ] The flows the business depends on, such as sign-up and checkout, have automated tests.
- [ ] A release can be repeated by someone else, and the last working version can be put back.

## Privacy and keys

- [ ] No secret key sits in the code or reaches the browser. Keys live in environment variables on the server.
- [ ] A privacy policy says what you collect, why, and who you share it with, and the app does what it says.
- [ ] A customer who asks can have their data deleted, and you know every place it is kept.
- [ ] Logs and analytics do not collect passwords, card numbers or other personal data by accident.

## Speed and devices

- [ ] The main pages load quickly on a mid-range phone over a mobile connection, not only on your laptop.
- [ ] Images are compressed and sized for the screens they are shown on.
- [ ] The app works on the phones and browsers your customers use, checked on real devices.
- [ ] Database queries stay fast with a realistic amount of data, not only with a handful of test rows.

---

Affid Technologies, https://affidstack.com/resources
