Atenção: Esse projeto foi baseado nesse maravilhoso boilerplate
REST API do Googol, construída utilizando Node + Express + MongoDB.
Install yarn:
npm install -g yarn
# you may need sudo for this
Install dependencies:
yarn
Set environment (vars):
get .env file on #dev channel of our slack.
Start server:
# Start server
yarn start
# service restarts on file change
bash bin/development.sh
# To use this option you need to make sure mongodb is listening on port 27017
# Build docker
docker build -t express-mongoose-es6-rest-api .
# Run docker
docker run -p 4040:4040 express-mongoose-es6-rest-api