This is a Next.js project bootstrapped
with create-next-app
.
You must place an dotenv(.env.local) file at the root of your project. And this dotenv must contain the following environment variables.
STACKOVERFLOW_API_URL=https://api.stackexchange.com
# Applications should be registered on Stack Apps to get a request key.
STACKOVERFLOW_KEY=GRANT_YOUR_OWN_KEY
yarn install
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.