AvArc
April 3, 2025 ยท View on GitHub
An application to collect data of historical interest, with locations and descriptions
Development / Repository organization
Make sure cygwin is installed:
https://cygwin.com/install.html
Make sure Node.js is installed:
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
| Name | Description | Example |
|---|---|---|
NEXT_PUBLIC_API_HOST | Host URL for backend API communication | http://localhost:8080 |
APP.CORS.ALLOWED-ORIGINS | Sources the backend accepts requests from | http://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!