This is a Next.js project bootstrapped with create-next-app
.
It allows an user to view on a web interface data from a redis database fullfilled by weather sensors. More details about this project is available at the following page : ARCHI weather airport server.
First, add a .env.local file , containing the address of the database server NEXT_PUBLIC_API
, for example :
NEXT_PUBLIC_API=http://localhost:8080
Then, run the client server:
npm install
npm run build
npm start
Open http://localhost:3000 with your browser to see the result, which should start with this :
After data acquisition by ARCHI weather airport server, data variations will be represented by a line chart, such as the following :