Skip to content

Sora-reader/frontend

Repository files navigation

Sora reader frontend

Bootstraped with create-next-app

App uses:

Installation requirements

  • node 16.x (nvm installation)

Usage

Install dependencies

npm install

Create .env file

cp .env.example .env

Scripts (npm run)

  • backend - start backend server on http://localhost:8888 (requires BACKEND_PATH)
  • dev - run next dev server on http://localhost:3000
  • build - build source (compile ts, jsx, start SSG)
  • start - run production server (requires npm run build)
  • fix - run prettier-eslint tool to format with prettier while respecting .eslintrc.json
  • check - run eslint
  • heroku-postbuild - script to run on heroku deploy, don't use

Useful links