This is a JavaScript application which is a customized interphase for PTRG.
In this project we make use of APIs on our webpage to monitor and maintain network availability across different regions.
Typescript : To extend JavaScript functionalities.
JavaScript: NodeJs: To serve as a framework or daemon for JavaScript.
NextJs: Provides a framework for our application to run it's front-end and backend simulthaneously.
Shadcn: As a component library with premade templates we can easily modify.
Utils: For background utilities to write functions that perform a specific action. We made use of an env.local file for our "API KEY" and "HOST IP".
Zod: To test and validate data coming from other systems.
-
Install node. "node"
-
Install nextjs "npx create-next-app@latest". This creates the necessary files and folders necessary for nextjs to run smoothly.
-
To install the necessary dependencies for Typescript and JavaScript, then records them in the package.json file. "npm i"
-
Start the project in dev mode. "npm run dev"
-
Open localhost to access the webpage. "localhost:3000".
We made use of schemas to define common variables to the server, root, probe, group, and device.