Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 415 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 415 Bytes

Photobook API

Installation

git clone https://github.com/gmoralesc/photobook-api

npm install

Create a .env file in the root directory, example:

SERVER_HOSTNAME=127.0.0.1
SERVER_PORT=3000

RUN SERVER

  • Development: npm run dev
  • Production: npm start

RUN MONGO DB

cd ~
mongod --dbpath ~/data/db

GIT Commands

git config --global credential.help 'cache t=36000'