Website at: https://mech-nest.com
The app supports Supabase-backed administrator accounts and shared CAD uploads.
- Create a Supabase project.
- In the Supabase SQL Editor, run
supabase/schema.sql. - In Authentication, create an email/password user.
- Copy that user's ID and run:
insert into public.profiles (id, is_admin)
values ('YOUR_AUTH_USER_ID', true);- Copy
.env.exampleto.env.localand add the project URL and anon key. - Restart the development server with
npm start.
Without Supabase environment variables, the app uses the local development fallback account shown in the Admin panel. That fallback is not suitable for production.
From the project folder, run:
cp .env.example .env.local
# Edit .env.local with the Supabase URL and anon key
npm run deployThe deploy script builds the app and publishes the build folder to the gh-pages branch. In GitHub, open Settings → Pages and set the source to the gh-pages branch and / (root). The custom domain is preserved by public/CNAME.
After deployment, open https://mech-nest.com. If the domain is not connected yet, add the GitHub Pages DNS records at your domain provider and wait for DNS propagation.