Skip to content

machristie/interactactwel-django-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Run Vue js app in development mode

Go to interactwel/dashboard directory

Run npm run serve to locally run the vue app

Build Vue js app for production use

Run npm run build

To start the Django app

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

Rest API is exposed in http://localhost:8000/api

Resources

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>
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 61.3%
  • HTML 16.6%
  • CSS 10.3%
  • JavaScript 7.5%
  • Python 4.2%
  • Shell 0.1%