Skip to content

Latest commit

 

History

History
 
 

td.server

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

OWASP Threat Dragon Server

This is a Express project that is the back end server for the OWASP Threat Dragon website project

Project setup

Use pnpm rather than npm :

npm install --location=global pnpm
pnpm install

Compiles and hot-reloads for development

pnpm run dev

Compiles and minifies for production

pnpm build

Clean the distribution with

pnpm clean

Run unit tests

pnpm run test:unit

For continuous testing:

pnpm run test:unit -- --watch

Lints and fixes files

pnpm run lint