This is a NextJS app made with create-next-app. It is made as the main client for FOSSLingo.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
Since this is a Next app, the best way to host would probably be on Vercel:
Important
Deploy the backend first or else deployment will fail. Instructions for deploying the backend can be found at FOSSLingo/backend
- Create a Vercel account at
vercel.com, and link your GitHub account - On Github, create a fork of
FOSSLingo/web - Back on Vercel, Click on "Import Project"
- Select Import next to "web"
- Under Application Preset, select Next.js
- Click "Environment Variables", and add one named
NEXT_PUBLIC_BACKEND_URLwith the value of your backend URL. - Click Deploy, and Deployment should start with the latest Git Commit