A tiny URL shortener, written in nodejs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Morgan Bazalgette 76bb569df1 I'm so fucking retard 5 years ago
bin Initial commit 5 years ago
public I'm so fucking retard 5 years ago
routes "app isn't defined" shit i forgot about this 5 years ago
views #BlameJade2015 5 years ago
.gitignore add a private mode 5 years ago
README.md fix module ../config not found 5 years ago
app.js Initial commit 5 years ago
config.sample.js I typo damn too much 5 years ago
create-db.js Initial commit 5 years ago
nameGenerator.js Initial commit 5 years ago
package.json Initial commit 5 years ago

README.md

nk

A tiny URL shortener, written in nodejs. Just playing around with express.js ~

installing & running

assuming you have git, tmux and npm installed

cd /where/webapps/are
git clone https://github.com/TheHowl/nk.git
cd nk
npm install
node create-db.js
cp config.sample.js config.js
vim config.js
# running the app
tmux new
export NODE_ENV=production
export PORT=8082 # or whatever port you like
node bin/www