/my-typescript-sandbox

Primary LanguageTypeScriptMIT LicenseMIT

my-typescript-sandbox

CI

WIP

1. Technical requirements

Please use nvm in case you need to work with different node versions 😉

2. To understand the code

also wip but codebase, folder structure and rules are based in the api-testing-example repo 😉

3. To use the code

3.1. Install dependencies

yarn install

3.2. Make the required configuration

Setup the .env file at the root path using these values

API_URL=https://freetestapi.com/api
ENDPOINT_BOOKS=/v1/books

We're using this mocks api to make some tests but you can use other apis with the same books interface 😄

3.2. Explore the code, edit it and run it locally

yarn dev

Please use this url http://localhost:3000

4. To test the code

yarn test