Skip to content

AvoinOrg/climate-map-backend

Repository files navigation

climate-map-backend

Backend for Climate Map

Running

Requires Docker. Create an .env file (see .env.example) and run with

    docker-compose up --build

Tests

The server has endpoint/integration tests that utilize the Postgres test database.
The test commands need to be run within the docker container:

docker exec -it climate-map-node yarn test
docker exec -it climate-map-node yarn test:watch

Production

In .env file, set

    NODE_ENV=production

and run

    docker-compose -f docker-compose-prod.yml up --build -d

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published