Skip to content

acmhub/nextjs-stepzen-news-api

Repository files navigation

Next Stepzen News Api

A news app using NextJS 13, Stepzen, GraphQL, TypeScript and TailwindCSS.

Demo

project

Features

  • NextJS 13 with appDir experimntal features and route groups
  • Mediastack API
  • GraphQL API queries using StepZen
  • Dynamic/Static Data Fetching
  • TypeScript
  • TailwindCSS
  • Search Functionality
  • Dark Mode
  • Fully Responsive

How to run locally

  1. Clone the project
  git clone https://github.com/acmhub/nextjs-stepzen-news-api
  1. Execute npm install or yarn to install all the packages.
  2. Go to mediastack and create an account.
  3. Go to stepzen and create an account.
  4. Paste the keys in your .env.local file following this structure:
MEDIASTACK_API_KEY=your_api_access_key
STEPZEN_API_KEY=your_api_key
  1. Create an endpoint on your stepzen dashboard
  2. Update the stepzen.config.json file in the project directory with your endpoint name
{
  "endpoint": "api/your_endpoint_name"
}
  1. Run npm run dev or yarn dev.
  2. Go to http://localhost:3000.

About

A news app using NextJS 13, Stepzen, GraphQL, TypeScript and TailwindCSS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published