The API backend for Informatif. The main website is hosted here.
- Install Docker Engine.
- Install Docker Compose.
- Copy
.env.example
to.env
and fill in actual values of the 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)
There are 2 modes of running the server:
Run npm run dev
to start a development server with hot reloading.
Run npm start
to start a production server.