Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

Latest commit

 

History

History
35 lines (20 loc) · 965 Bytes

README.md

File metadata and controls

35 lines (20 loc) · 965 Bytes

Informatif API

The API backend for Informatif. The main website is hosted here.

Setup instructions

Environment variables

There are 2 environment variables:

  • GLOBAL_NEWS_API_KEY (get the API key here)
  • PORT (choose a port to run the server on)

Running the server

There are 2 modes of running the server:

Running in development

Run npm run dev to start a development server with hot reloading.

Running in production

Run npm start to start a production server.

Other links

Informatif Web