# CENOS Portal

CENOS Portal. Subscriptions, payments. In the future, all web page

# Development
- Calling `npm install` in root project directory will run it in both frontend and backend.
- Calling `npm build` will build both frontend and backend and put them in `dist` folder, in `frontend` and `backend`
  folders respectively.

## Frontend

Live server with live reloading can be launched by `npm start` from `frontend` folder.

## Backend

All command should be run from `backend` folder:

- `npm start` will build and start backend, without live reloading.
- `npm start:dev` will build and start backend WITH live reloading.

### API reference

All public API reference (docs) will be available under `api-ref` path if running in `development`
environment (`NODE_ENV=development`, set by default).

With default environment variables, the full path will look like this: `http://localhost:3000/api-ref`