The capabilities of the web application is;
- reads the statical json data with both
getServerSideProps
and Next.js Api routes. - for each dataset, there is a React component to display them.
- index page imports those components and passes required data.
You can check out the final result from here 👉 https://dashboard-app-next.vercel.app
You will need Node.js version 10.13 or higher installed on your system.
Get the code by either cloning this repository using git or download
git clone https://github.com/musakacmaz/dashboard-app-next.git
Once downloaded, open the terminal in the project directory, and install dependencies with:
npm install
To run tests:
npm run test
To run linter:
npm run lint
Formatting:
npm run format
You can run the development server with:
npm run dev
The application should be up and running on http://localhost:3000