/basic-api-server

Primary LanguageJavaScriptMIT LicenseMIT

basic-api-server


Description

Express servers can quickly get big and out of control if you build them in one monolithic server file. There are many strategies for breaking the route handling logic into modules that "make sense" ... we'll be introducing the you to one such pattern today -- separate routers that contain all of the routing logic and handlers using Express.router(). In 301, we kept the route definitions in the server and imported the handler functions from other modules.

So by creating CRUD with REST API create to route with two models and create the handlenig methode in model like delete(), create(), update() then making the request in route

LInkS:

deployed the dev

deployed the main

Github Actions

PR


UML

here the url of url uml-url