Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Latest commit

 

History

History

api

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.