Pyatform Frontend is a web client for Pyatform - a coding challenge platform. It allows users to write code, submit solutions, view test results, track progress, and manage their profile.
The frontend communicates with the .NET backend API
First create .env file with your environmental variables:
NEXTAUTH_SECRET=<your-nextauth-secret>
BACKEND_BASE_URL=http://localhost:8080
NEXT_PUBLIC_BASE_URL=http://localhost:3000
-
NEXTAUTH_SECRETis used for securing JWT tokens in authentication. You can generate a random secret using:openssl rand -base64 32
Then, run the development server:
npm run devThe app will be available at:
http://localhost:3000
Distributed under the MIT License. See LICENSE for more information.