An Express server that creates a medical report for toxicological samples
- Download the Insomnia boilerplate
- Import it on your workspace
- Select the "Prod" environment (or build the project and try it locally with "Local")
- Sign up with POST /api/v1/auth/signup
- Log in with POST /api/v1/auth/login
- Play with POST /api/v1/toxicology/samples and GET /api/v1/toxicology/samples
- Clone the repo to your local machine
git clone https://github.com/mbetim/toxicological-samples-api.git
# or
gh repo clone mbetim/toxicological-samples-api
- Install the dependencies (the project is using yarn)
yarn
-
Duplicate the .env.example with the name .env and fill it with your information
-
Compile the project from Typescript
yarn build
- Run it!
yarn start