Sample API testing project
- Git
- NodeJS 6+
$> npm install
To run server separately, to manually check it:
$> npm start
Now, the server can be reached via http://localhost:7001
$> npm test
First it will download a fresh test data set. It will also start a server in the background and then run tests on it.
The server and the API of it can be found on the json-server site.
- Posts
- Comments
- Users
- Todos
- Photos
- Albums
Create API test for the above listed types, based on the CRUD principles and basic API definition of json-server.