Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 872 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 872 Bytes

INT20H-2019

This website was made as a test assignment for INT20H hackaton 2019

HOWTO run the project locally

  1. Put .env file in the root of project with the following environment variables:
    • PORT - port that server will start at
    • FLICKR_API_KEY - API key from Flickr
    • FACEAPP_API_KEY_0 - API key from Face++
    • FACEAPP_API_SECRET_0 - API secret from Face++
    • DATABASE_URL - running MongoDB instance url (either local or remote).

View EXAMPLE_DOTENV.env for an example.

  1. Install necessary dependencies
npm install
  1. Build project.
npm run build:prod
  1. Run server.
npm start