The user page and admin pages are hosted separately, and the authentication is separate for both.
- The frontend is hosted on: https://stackhack2-0.vercel.app/
- The backend is hosted on: https://yearling-jazmin-priyanshu123-f20d5a70.koyeb.app/
The admin page is hosted on: https://stackhack2-0-hj88.vercel.app/
Note: Admin auth is not working on the hosted backend, but it works on localhost.
cd server
npm install
npm startcd frontend
npm install
npm run devImportant: Uncomment the environment variable to localhost in both admin and frontend directories (if not already). the render backend takes around 50 seconds to spin up to load the data if used after a long time
Dummy login credentials:
- Email: x2@test.com
- Password: hsps1234
cd admin
npm install
npm run devThis only works with localhost. The hosted backend using Render and Koyeb is not functioning as expected.
Note: Only an admin can register another admin inside the admin dashboard.
Admin credentials:
- Email: test@admin2.com
- Password: hsps1234