it is often encountered that the front-end development is faster than the back-end development, so how should the front-end be tested?
yapi seems to be OK?
secondly, how to solve the user login problem if you write api in node?
it is often encountered that the front-end development is faster than the back-end development, so how should the front-end be tested?
yapi seems to be OK?
secondly, how to solve the user login problem if you write api in node?
rap2 , learn about it and simulate the data returned by the API through configuration.
the front and rear ends are separated, and both ends are developed in parallel. The front end and the background agree on the data format, and then mock
data is fine. There are many mock
class libraries. It is recommended that .
if you use Node
to write API
, it is recommended to remove the cookie
check and directly return the corresponding value.
try easy-mock ?
Previous: Routing problem sent back by Vue backend