This is a Next.js project bootstrapped with create-next-app
.
It is meant to serve as a basic example for accessing Withings API data for wearables
touch pages/api/constants.hidden.ts
Format should be:
export const CLIENT_ID = "abcd1234567890";
export const CUSTOMER_SECRET = "1234567890abcdefg";
First, run the development server:
yarn && yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js
. The page auto-updates as you edit the file.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.