DEV Community

Discussion on: Where to put business logic

Collapse
 
kaaiomarxx profile image
Kaio Marx

you could think of your tax function as a service, so write a get(or even post) request from your front-end to your back-end, passing some parameters, all of this using express, for even more learning you could do your back end application only execute get request when this request passes through your authentication system, with that you will learn some of the good practices of web development,

subjects to read about it: jsonwebtoken, HTTP request, express architecture (files organization)

free your creativity when you're building, programming is about that