1/9
Looks like no tags are added yet.
browser to logic path
browser
user submits expense information
fetch() / HTTP request
browser sends the request
local API / express
server receives and handles it
backend function
business rules are applied
response
server returns the result
browser
page displays the result
HTTP request
a message sent by the client to a server
HTTP response
the server's reply to a request
API endpoint
a specific address or route through which the API can be accessed
JSON
a data format used to exchange structured information
fetch()
a browser JavaScript function used to make network requests
express
a Node.js web framework used to build HTTP servers and API routes
POST
an HTTP method commonly used to send data to a server for processing or creation
local server
similar to backend business logic because it is executing the same codebase, configuration, or routing rules
sucessful API resopnse
is not database persistence
transaction was not saved permanently