Next application for Mapswipe
Before you start, create .env.local
file:
touch .env.local
Set these environment variables:
MAPSWIPE_API_ENDPOINT=https://apps.mapswipe.org/api/
MAPSWIPE_COMMUNITY_API_ENDPOINT=https://api.mapswipe.org/graphql/
# Generate typings for the first time
docker-compose run --rm next bash -c 'yarn generate'
# Run frontend
docker-compose up next
docker-compose --profile test run --rm checks
docker-compose exec next bash -c 'yarn export'