Skip to content

Skillbill/developer-arena

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Developer Arena

Automated by Buddy buddy pipeline

Run the demo:

docker required

scripts/demo.sh

When you finished, shutdown the containers with:

scripts/stop.sh

backend

Known Vulnerabilities

how to run

database:

scripts/run.sh -B db

api server:

dev mode:

nodejs required

cd be
npm install
npm start
docker:
scripts/run.sh -B be

api doc

postman export of all apis

back-office

Known Vulnerabilities

frontend

Known Vulnerabilities

dev mode:

nodejs required

cd fe
npm install
npm run dev
docker:
scripts/run.sh -B fe

Authentication

fake auth middleware (dev mode)

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

firebase auth middleware

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.