Skip to content

๐ŸŽฌ An API made with NodeJs + Fastify + Cypress, where you can store the details of your videos, like title, description and duration.

Notifications You must be signed in to change notification settings

rodrigomolter/MotionHub-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

35 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Motion Hub API ๐ŸŽฌ

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.

Docs ๐Ÿ“‹

You can check the API Documentation while running the application on

http://localhost:3333/documentation

Or enter the swagger.yaml in the SwaggerEditor

Test Plan ๐Ÿ‘จโ€๐Ÿ”ฌ

The avaiable Test Plans for the application are located here:
๐ŸŽฌ Motion Hub API Testing Plans

Postman Collection:
Run In Postman

Installation ๐Ÿ—๏ธ

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

Running the tests โœ”๏ธ

In this project, you can run tests in interactive and headless mode

Headless mode </>

Run npm test (or npm t for short) to run all tests in headless mode.

npm test

Interactive mode ๐Ÿ•น๏ธ

Run npm run cy:open to open the Cypress App to run tests in interactive mode.

npm run cy:open

Support this project ๐Ÿ™Œ

If you want to support this project, leave a โญ.


Made with love ๐Ÿงก by Rodrigo Molter

About

๐ŸŽฌ An API made with NodeJs + Fastify + Cypress, where you can store the details of your videos, like title, description and duration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published