/fycode-backend

A place to test your programming skills on real problems.

Primary LanguageTypeScriptMIT LicenseMIT

Fycode

A place to test your programming skills on real problems

main-page

How to run project

make sure you have installed:

add necessary enviroment variables

DATABASE_URL="postgresql://username:password@localhost:port/fycode?schema=public"
JWT_SECRET="random_string"

BASE_URL=""
CLIENT_URL=""

SERVER_MODE="dev" # change to "prod" in production mode

then install all dependencies

pnpm install

run project

pnpm start

in development mode

pnpm start:dev

or build

pnpm start:build

TODO

  • [+] code editor header
    • [+] language choose in code editor
  • [+] code editor
  • [+] code editor footer
    • [+] setup custom tests
    • [+] setup results
  • [+] attempt and submit code buttons
  • [+] user profile page
  • [+] create problem page