POST /api/v1/sign-up/POST /api/v1/sign-in/
GET /api/v1/anemometers/POST /api/v1/anemometers/PUT /api/v1/anemometers/<id>DELETE /api/v1/anemometers/<id>POST /api/v1/anemometers/<id>/measurementsGET /api/v1/anemometers/<id>/measurements
GET /api/v1/measurements/wind-speed-statsGET /api/v1/measurements/filter-by-tagsGET /api/v1/measurements/stats-within-area
For testing these endpoints locally, you can import the provided postman collection in the folder postman-colletion.
- Install Poetry if you haven't already:
curl -sSL https://install.python-poetry.org | python3 - - Install dependencies:
poetry install
- Activate the env
poetry shell
- Apply migrations:
python manage.py migrate
- Run the development server:
python manage.py runserver
- Build the Docker image:
docker build -f deployment/dev/Dockerfile -t my-image . - Run the Docker container:
docker run -p 8000:8000 windforlifePOC