Skip to content

Latest commit

 

History

History
20 lines (20 loc) · 845 Bytes

README.md

File metadata and controls

20 lines (20 loc) · 845 Bytes

To make project work you need to do the following

1. Install mongodb locally. To do that run following commands (Linux):

  • sudo apt install -y mongodb || to install mongodb
  • sudo systemctl enable mongodb || to make mongodb server run on startup
  • sudo service mongodb start || to start mongodb server (if not started)

2. Install all dependencies (frontend and backend) by running npm run install-all

3. Create .env file in root folder. The app will need this environment variables:

  • DB_URL=mongodb://localhost:27017/docgen #(!is required!)
  • PORT=3000 #(optional)
  • MAIL_CONNECTION_JSON