Skip to content

avarcorg/avarc-server

Repository files navigation

AvArc

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

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!

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages