Skip to content

About

Simple url-shortener project in Node.js

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Start instructions


MongoDB startup

Start MongoDB with any preferred way

Docker for example

docker run -it --name sortener_mongo -p 27017:27017 -d mongo:latest

Run node app

From project root navigate to back folder

cd back

Customize .env if needed

NODE_PORT=8080

DB_URL=mongodb://localhost:27017
DB_NANE=link

AUTH_SECRET=really_secret

Build project (yarn/npm)

yarn build

Run project (yarn/npm)

yarn start

Testing

See requests.http for available http requests

About

Simple url-shortener project in Node.js

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages