Go to interactwel/dashboard directory
Run npm run serve
to locally run the vue app
Run npm run build
Go to interactwel directory
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
Rest API is exposed in http://localhost:8000/api
Subbasin: http://localhost:8000/api/subbasins
Get All
GET http://localhost:8000/api/subbasins/
Get one
GET http://localhost:8000/api/subbasins/1
Create
POST http://localhost:8000/api/subbasins/
{
"detail_json": <JSON COntent>
}