ahmedshuhel / foundation-gql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Foundation GraphQL example

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

Deploy with Vercel

Demo


Development

Environment

Project

  • Create .env.local file on project root and populate with following
    NEXT_PUBLIC_OPTIQ_URL="https://cg.optimizely.com/content/v2"
    NEXT_PUBLIC_OPTIQ_AUTH="auth-key"
  • Restore node packages
    npm install
    # or
    yarn
  • Run dev server
    npm run dev
    # or
    yarn 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.

About


Languages

Language:TypeScript 96.3%Language:JavaScript 3.5%Language:Shell 0.2%Language:CSS 0.1%