scripts/demo.sh
When you finished, shutdown the containers with:
scripts/stop.sh
scripts/run.sh -B db
cd be
npm install
npm start
scripts/run.sh -B be
cd fe
npm install
npm run dev
scripts/run.sh -B fe
By default, the backend will start in dev mode: any auth-required operation is accepted as long as the client sets the following HTTP header:
Authorization: $userid
In order to use the firebase authentication system, a service account must be provided in the configuration file and devMode
has to be set to false
A client, in order to successfully perform an auth-required operation (like submit a project) must add to the HTTP request the following header:
Authorization: Bearer $token
where $token
is a valid token obtained from firebase.
Accounts provisioned by email (that is, without an external provider), must verify their email first.