Skip to content

barskhianfannie/Neuralink-Django-App

Repository files navigation

This follows the abstract tree below. Each file under the root is composed of many more files / directories.

NEURALINK(Root)
    ├──-
        ├── accounts
        ├── actions
        ├── host
        ├── neuralink
        ├── proxy
        ├── pull
        ├── scripts
        ├── templates
        ├── venv
        ├── db.sqlite3
        ├── docker-compose-deploy.yml
        ├── docker-compose.yml
        ├── dockerfile
        └── manage.py
        └── ReadMe
        └── requirements.txt

From the terminal navigate to the Neuralink Root Directory and run

docker-compose -f docker-compose-deploy.yml up --build

This will set up the Nginx server and allow you to access the application via the following link.

Link To Home Page

You may log in using the following credentials username - neuralink password - Neuralink33

From here you can access your dashboard to check out your profile. The data shown midway can be modified using the REST API capabilities.

To use the REST API capability, navigate to http://127.0.0.1:8000/REST/

Click on the {'actions': link provided} (should be - "actions": "http://127.0.0.1:8000/REST/actions/")

From here, you may access the action items per user. You may POST new Actions, but keep in mind that the User may only have one device.

To access user specific info, input the id number to obtain API response. For the 'neuralink' user, this will be 1. The link will then be as follows - "actions": "http://127.0.0.1:8000/REST/actions/1/" Now you may make use of the PUT api call to make any necessary changes. If you update the 'Data' field, you will notice the updates in the dashboard. Simply, navigate back to http://127.0.0.1:8000/ to access your dahsboard using the nav-link.

The provided username/password credentials is for a 'superuser'. You may log in as admin and have full control over the backend databases. http://127.0.0.1:8000/admin/

About

Djano App with REST API for Neuralink Submission

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published