node-ninjas / webtoon-atlas-backend

0 stars 0 forks source link

monsterissue: backend from js to ts #76

Open loulevin opened 7 months ago

loulevin commented 7 months ago

MonsterIssue: Switch from JavaScript to TypeScript


Things we need to do:

Checklist Webtoon File Structure:

Work Distribution:

Selman:

Patty:

Types we will apply:

req: express.Request res: express.Response e: any

nodemon config code:

der tsx npm script is in exec und wird jedes mal ausgeführt bei einer Änderung bzw. wenn der Server durch nodemon neugestartet wird.

 "api": "nodemon",

    "nodemonConfig": {

        "watch": [

            "backend"

        ],

        "ext": "ts, json",

        "exec": "tsx backend/api/index.ts"

    },