This is a Next.js project bootstrapped with create-next-app.
Run cd frontend from the root of the project.
Run npm install to install dependencies.
First, run the development server:
npm run dev
# or
yarn devOpen http://localhost:3000 with your browser to see the result. You will automatically be directed to the login page at http://localhost:3000/login
Register for an account at http://localhost:3000/signup, and login at http://localhost:3000/login.
After successful login, it should show a graph of the questions completed thus far.
Questions will be listed at the bottom of the page, with the ability to filter based on difficulty and search for questions based on title.
The following pages are available, protected pages require frontend authorization:
-
/dashboard (Protected)
A dashboard page where users can view their progress and a list of questions available throughout the application. -
/settings (Protected)
A settings page where users can change their passwords or delete their account. -
/match (Protected)
A match page where users can request for a match with other users based on the difficulty chosen. -
/learning-pathway (Protected)
A page where users can see their past sessions, as well as completed questions and their progress. An experience bar is provided which will be filled as questions are completed. -
/questions/:title, where title is a slug.
A dynamically routed page which displays the entire question, including a comment section used for discussion.
e.g. Two Sum -> /questions/two-sum
Our frontend has been deployed on Vercel Platform from the creators of Next.js.