GeorgianCollege / express-mvc

This repo is for the @georgiancollege/express-mvc npm module
0 stars 1 forks source link

Need to add an --auth option that adds Security support #3

Open tsiliopoulos opened 1 year ago

tsiliopoulos commented 1 year ago

Security support would work with API.

This could work with the MVC version as well but it would work better with the --api option

Combined with the --api option, the --auth option would use JWT by default. This could be expanded to include an API Key as a security option instead with a --key option

Example: express-mvc --api --auth --key --tsc would scaffold out an express API that includes JWT security and is written in TypeScript

tsiliopoulos commented 1 year ago

Added authentication for both JS and TS APIs