Sampa Challenge
this project supposed to be dockerized but time was late and all this code written in one day, so installation is manual :
prerequisite: docker and docker compose
docker compose up -d
cp .env.example .env
docker compose exec nest bash
yarn
npx prisma db push
npx prisma db seed
if your internet provider has a restriction on docker domains, you may need change in dns or
Virtual private network access to download respecting volumes.
volumes:
- application access http://localhost:3001
- phpmyadmin access http://localhost:8080
- elasticsearch access http://localhost:9200
container down with docker compose down
first login and then set bearer token in postman
this project apis are exported with postman collection.
this project provides jwt auth and nearby api by elasticsearch
the procedure of assigning task was unexpected and i was on trip, this task is accomplished just in one day, so some requested features are missing.