Server code

basic steps

  • clone this project using ssh key git clone git@github.com:AmrinderS21/dummy-be-app.git
  • do npm install
  • then npm start and your dummy server is up

Additional info:

  • before start: insert your apyhub token in initApyhub("") (generate token: after signing in, go to workspaces settings > applications, and create an application)
  • add the required SDKs
  • configure api-routes as per the need
  • handle the error codes to be sent to frontend application according to your need as you can see in method: handleErrorCode