University Dashboard

Components

  • NavBar - navigation using next router.
  • Card - Display dynamic card layout.
  • Layout - Main layout of the component.
  • ErrorBoundary - Catch nasty errors and dump into console. Good to store in log server.
  • TraceSpinner - show spinner while fetching data.

Pages

  • Search - For searching universities
  • Newsletter - For dumping user input into a json file
  • Home - Display Welcome page

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Clone the project

git clone https://github.com/brendonco/university-dashboard.git

Notes

These scripts refer to the different stages of developing an application:

  • dev - Runs next dev which starts Next.js in development mode
  • build - Runs next build which builds the application for production usage
  • start - Runs next start which starts a Next.js production server

Installing

npm install

Starting the application

npm run dev

This starts the development server on http://localhost:3000.

Visit http://localhost:3000 to view your application.

image

Alternatively visit live at http://university-dashboard.brendonco.vercel.app/

Running the tests

npm run test

image