|
Backend server for travel guide |
- Retrieve route data from an external API.
- Find the nearest routes based on provided coordinates.
- Find points within a specified viewport.
- Input validation for query parameters.
- Error handling and JSON response for exceptions.
Clone the repository:
git clone https://github.com/lsvalina/travel_guide.git
cd travel_guide- if you dont have nix configured follow nix installation guide here
- run
direnv allowto allow nix to work its magic - run
__env_bootstrapto generate .env and .env.development with default values - run
__installto set up project and install dependencies - run
__runto run a project
- install docker and docker compose
- run
cp .env.default .env.development; cp .env.default .envto set dotenv with default values - run
docker compose up
- install node v20
- run
npm installto install dependencies - run
npm run start:dev