Just a simple URL shortener :)
To install and run the API:
- Clone the repository project
- Configure your
.env
file in root folder with the follow variables:BASE_URL
: your app base URL, like http://localhost:8080PORT
: your app port, like 8080DATABASE_URL
: your database string connection
- Install dependencies with:
npm install
- Run the migrations with:
npm typeorm migration:run
- To run the tests, run on terminal:
npm run test
- To start, run on terminal:
npm run start