Challenge Overview
CHALLENGE OBJECTIVES
Welcome to the Dragonet - Backend API mock creation! In this challenge we want to write a mock server for the backend API.
PROJECT BACKGROUND
The client is looking for an upgrade and migration from JSF technology to React for one of their systems.
TECHNOLOGY STACK
-
Node.js 12.x
-
Lowdb (JSON Database)
Individual requirements
API specification files are shared in the forum.
-
All endpoints are in scope.
-
No need to create any database models, but we want to operate on lowdb, for example, if it's POST, we really want the data inserted into lowdb.
-
Only 200, 201, 204 and 400 are needed. Please follow the common Rest API standard to decide which status code should be used for one endpoint. About 400 errors, please check all fields' existence and data type.
-
No pagination is required, simply returns all.
-
Filter is required.
-
Postman file is needed.
Important Notes
-
No need to have lint.
-
No tests are needed.
Final Submission Guidelines
FINAL DELIVERABLES
-
All original source code.
-
README.md file with local development guide.
-
Postman file.