CodingNic

Test, Deploy & Ship

Deploy and Perform a Final Smoke Test

Test, Deploy & Ship 25 min read

Deploy and Perform a Final Smoke Test

Deploy and Perform a Final Smoke Test

Task

Deploy the Next.js application to Vercel and verify the deployed Readly workflow.

Before deploying, ensure database migrations have been applied to the production database.

Deploy the application through the project’s configured Vercel workflow.

After deployment, test:

  1. Register
  2. Login
  3. Upload an EPUB
  4. Open the Book
  5. Navigate
  6. Change Reader Settings
  7. Reload
  8. Confirm progress resumes
  9. Add a Bookmark
  10. Add a Highlight
  11. Add a Note
  12. Open the passage from annotations
  13. Sign out
  14. Sign back in
  15. Confirm persisted data
  16. Delete the Book
  17. Confirm storage cleanup

Also test the application on a narrow viewport.

Test

Check the browser console and deployment logs for unexpected errors.

Verify that no production secret appears in the browser bundle or response payloads.

Checkpoint

The deployed Readly application passes the core smoke test.

Course Complete

You have taken Readly from a prepared interface to a complete full-stack eBook reader with:

  • authentication and sessions
  • PostgreSQL persistence
  • Prisma data access
  • EPUB upload and S3-compatible storage
  • EPUB.js reading
  • book-wide reading progress
  • bookmarks
  • Highlights and favorites
  • Notes
  • Reader preferences
  • real Home and Library data
  • responsive layouts
  • security safeguards
  • deployment and smoke-test verification

The finished application is a production-minded MVP: coherent, persistent, secure around its major boundaries, and ready to continue evolving.