AvArc

April 3, 2025 ยท View on GitHub

An application to collect data of historical interest, with locations and descriptions

Development / Repository organization

CI License

Make sure cygwin is installed:

https://cygwin.com/install.html

Make sure Node.js is installed:

https://nodejs.org/en

IntelliJ:

Command line build

Translations

Code Quality

Integration Tests

๐Ÿงช Local Development

Frontend

๐Ÿš€ Run Docker Container with Runtime API Host

To override the API backend host at runtime:

docker run -e NEXT_PUBLIC_API_HOST=https://api.example.com -p 3000:3000 avarc-frontend

This will ensure your frontend points to the correct backend API on launch.

Backend

๐Ÿš€ Run Docker Container with Runtime API Host

To override the API backend host at runtime:

docker run -e APP.CORS.ALLOWED-ORIGINS="http://localhost:3000,https://*.example.com" -p 8080:8080 avarc-backend

This will ensure your backend will accept requests from the correct frontend on launch.

๐Ÿ“ Environment Variables

NameDescriptionExample
NEXT_PUBLIC_API_HOSTHost URL for backend API communicationhttp://localhost:8080
APP.CORS.ALLOWED-ORIGINSSources the backend accepts requests fromhttp://localhost:3000

How to develop via an Integrated Development Environment (IDE)

We will assemble some step-by-step guides for different IDEs on our developer documentation website:

Happy coding!