In order to simulate a server, you cam use the module InMemoryData, in which you have for example
const db = { Name="John Doe", Dob="13/02/1989"