NoJamesNo / PWS-Frontend

Frontend UI for MSU Enviroweather personal weather stations.
0 stars 1 forks source link

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, install dependencies

npm run dev

Make a file named .env.local in project root.

Insert text below, replacing values of your own.

#Url for the PWS API hosted on amazon ec2
API_BASE_URL=
#Url for enviroweather apis deployed on prod
ENVIROWEATHER_API_URL=
#Url for enviroweather apis deployed on test
TEST_API_URL=
#Mapbox access token, Remove and replace map with splash to select station if map is not desired
NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN=

Then, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.