Skip to content

tinu-be/api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinu.be - api

This is a personal project based in nodeJS to url shortener named tinu.be

Requirements

  • Node ~10.16.
  • Yarn or npm ~6.11

Setup

By the first rename the file .env-sample to .env and fill with all necessary info:

# Environment variables
API_PORT=5000
CORS_ORIGIN=*
DATABASE_HOST=mongodb+srv://<user>:<pass>@<host>.mongodb.net/<database>?retryWrites=true&w=majority
BASE_URL=http://localhost:5000

Build

We are using Yarn to install dependencies and build, so open the terminal and run:

$ yarn install

then to run dev env

$ yarn dev

About

API from tinu.be url shortener [free]

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published