This is an API write in typeScript using node.js, express.js and working with MongoDB. The API give an amount chosen of exercices sort by muscle group worked, with some additional details use for a web project which interprets these data
$ git clone https://github.com/l-busca/Sport-program-typeScript-REST-API.git
$ npm install
$ tsc api.ts --strict
$ node api.js
You can't add data with post request in the actual version but new features are coming, and a sample data is available on the repository, you just have to import it in your MongoDB database.
https://www.your_domain/exa/20
You will get 20 exercices sort by muscles group (these data will be interpreted in a new project very soon)
https://www.your_domain/exa
Get all the exercices actually available in the database