dha-stix / wing-nextjs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Started

  • Clone the repository

  • Ensure you have the latest version of Wing installed on your computer.

    npm install -g winglang@latest
  • Run npm install within the frontend and backend folders to install the project dependencies

    npm install
  • Run wing secrets in your backend terminal and paste your OpenAI API Key into the field.

  • Build the Next.js app by running npm run build.

    cd frontend
    npm run build
  • Finally, start the Wing server. It automatically starts the Next.js server.

    cd backend
    wing it

    You can access the Next.js app by visiting http://localhost:3001 within your browser.

About


Languages

Language:TypeScript 92.9%Language:JavaScript 5.2%Language:CSS 2.0%