Invoice app

Api Documentation

Running the app

First clone this repository with

git clone https://github.com/moyshik7/invoice-api.git

Then install the modules (For general use)

npm install

(For production use)

npm ci

Set the environment variables

#Your Database url (mongo)
DB_URL="http://localhost:27017/"
#Your Database name (default "Invoice")
DB_NAME="Invoice"
#The port the app will listen to (default 3000)
PORT=3000

Start the app

npm start

Transpile to js for production use

Last updated

Was this helpful?