It's a simple API where you can store the details of your videos, like title, description and duration.
It uses in-memory database
. It means it will only store data while running and when you stop the application all data will be lost.
You can check the API Documentation while running the application on
http://localhost:3333/documentation
Or enter the swagger.yaml in the SwaggerEditor
The avaiable Test Plans for the application are located here:
๐ฌ Motion Hub API Testing Plans
To run this project you will need
- Node.js (I've used version
v18.17.1
while writing this doc)
Note: When installing Node.js, npm is automatically installed. ๐
Run to install the dev dependencies
npm install
Start the API with the command
npm run start
In this project, you can run tests in interactive and headless mode
Run npm test
(or npm t
for short) to run all tests in headless mode.
npm test
Run npm run cy:open
to open the Cypress App to run tests in interactive mode.
npm run cy:open
If you want to support this project, leave a โญ.
Made with love ๐งก by Rodrigo Molter