8000 GitHub - Luka-Abey/sable-api: Django API for Sable Studio (previously Sable Radio). Featuring radio show timing system, residents, and blog.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Django API for Sable Studio (previously Sable Radio). Featuring radio show timing system, residents, and blog.

Notifications You must be signed in to change notification settings

Luka-Abey/sable-api

Repository files navigation

Sable Radio API

API component for Sable Radio website. Create, read, update + delete functionality for residents, blogs + schedule.

Available endpoint URLs:

URL Accessed Data Notes
/api/schedule returns all shows in database if schedule is implemented, will need to filter this for current week
/api/schedule/currentshow returns show which matches time.now
/api/residents returns all residents
/api/residents/<id> returns resident with matching id
/api/blogs returns all blog posts
/api/blogs/<id> returns blog post with matching id
/api/residents/search/<query_string> returns residents + blogs matching with query matches name and description
/api/banner returns all banner members iterate through array

Run locally

Clone the repo to your local machine, make sure you are in the root directory and: Create a virtual environment for Django (venv):

python -m venv venv

Then activate the venv (Windows):

source venv/Scripts/activate

Think on Mac it is:

source bin/activate

You should see (venv) appear in the terminal. Now:

python manage.py migrate
python manage.py runserver

Django server is now running on http://localhost:8000

About

Django API for Sable Studio (previously Sable Radio). Featuring radio show timing system, residents, and blog.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0