Skip to content

isacm/api_whistle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

Whistle API

Environment setup

Requirements

• MongoDB

• Installation guide: https://docs.mongodb.com/manual/administration/install-community/

• NodeJs

• Installation guide: https://nodejs.org/en/download/package-manager/

Run commands

Start mongo service

$ mongod
$ mongo

Open project directory

$ cd api_whistle/whistle

Do this only on the first run

Start with

$ npm install

Configuration of sendgrid in a home machine

$ echo "export SENDGRID_API_KEY='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'" > sendgrid.env
$ source ./sendgrid.env
$ npm install --save sendgrid
$ npm install --save @sendgrid/mail

Create the following directory

$ sudo mkdir /var/www/storage

Start node service

$ node .
$ Load url on web browser to access explorer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •