Original working file
START-HERE.txt
Code and working example pages keep their original identifiers and sample text. The lesson and file guidance explain them in your language.
PRACTICAL ROUTE
Upload, reopen and delete supplied test images while checking size limits and account ownership.
Your role: Choose the supplied test files and verify their real storage, preview and access behavior.
1. Use the supplied project and ask your coding assistant to carry out the implementation. You do not need to write HTML, JavaScript or SQL yourself.
2. Follow the current lesson steps, configure only your own permitted accounts and check the result in the actual page/provider.
3. Keep expected results and observed results separate. Record the exact blocked step if you cannot run a live check.
The detailed setup below is available to you and your assistant. Code explanations and extra implementation exercises are optional; important access/privacy checks are still part of the practical lesson.
--- REQUIRED SETUP (CODE READING IS OPTIONAL) ---
Use a separate Supabase practice project. Configure its Email authentication and a permitted test recipient/custom SMTP. In the Magic Link email template, include {{ .Token }} so the message contains an OTP code rather than only a link. Put only the project URL and PUBLISHABLE key in public/config.js. Never use a secret/service-role key there. Serve public/ over localhost HTTP or your own HTTPS host; module imports do not work reliably from file://. Test only inboxes you control. Sender/account limits may require provider configuration.
In Storage create a PRIVATE avatars bucket. Set max size 2MB and allowed MIME types image/png,image/jpeg,image/webp. Run policies.sql in the project SQL editor. All upload-test files are supplied: fixtures/avatar-small.webp is a valid image below the limit; fixtures/avatar-too-large.png is a valid PNG above 2MiB; fixtures/not-an-image.txt is an unsupported text file. Download and use these fixtures; no personal photo is required. Private signed URLs are temporary bearer links; anyone holding one may use it until it expires. Do not paste them into public reports.