Skip to content

PriyanshuShekhar10/Stackhack2.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Readme

General info

The user page and admin pages are hosted separately, and the authentication is separate for both.

Deployments

Admin Dashboard

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.

Running on Local Machine

cd server
npm install
npm start
cd frontend
npm install
npm run dev

Important: 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:

cd admin
npm install
npm run dev

This 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:

About

Submission for StackHack2.0 by Mercer Mettl

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published