Skip to content

rodrigonoguti/urlshortner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

url shortener

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:8080
    • PORT: your app port, like 8080
    • DATABASE_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

See Postman Documentation