NightShift
A SwiftUI app + FastAPI backend that improves the sleep quality of caregivers while ensuring prompt care for their dependents
File Explorer
- 01.py
- app.py
- Dockerfile
- requirements.txt
- Contents.json
- Contents.json
- IMG_0038.JPG
- Contents.json
- Contents.json
- Color+Ext.swift
- Keychain+Ext.swift
- UserDefault+Ext.swift
- View+Ext.swift
- BackendSyncManager.swift
- KeychainWrapper.swift
- SleepManager.swift
- Schedule.swift
- String+Constants.swift
- VIewModel.swift
- Contents.json
- EditProfileView.swift
- EditScheduleView.swift
- ScheduleView.swift
- ContentView.swift
- Info.plist
- OnCall.entitlements
- OnCallApp.swift
- Contents.json
- Contents.json
- Contents.json
- Contents.json
- ContentView.swift
- OnCall Watch App.entitlements
- OnCallApp.swift
- IDEWorkspaceChecks.plist
- UserInterfaceState.xcuserstate
- contents.xcworkspacedata
- xcschememanagement.plist
- project.pbxproj
- .gitignore
- README.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
pip install
View Details ▼
pip install
Install Python packages.
pip install {{package1 package2 ...}}
Install one or more packages:
pip install {{package1 package2 ...}} {{[-U|--upgrade]}}
Upgrade all specified packages to the latest version, installing any that are not already present:
pip install {{package}}=={{version}}
Install a specific version of a package:
uvicorn
View Details ▼
uvicorn
Python ASGI HTTP Server, for asynchronous projects.
uvicorn {{import.path:app_object}}
Run Python web app:
uvicorn --host {{localhost}} --port {{8080}} {{import.path:app_object}}
Listen on port 8080 on localhost:
uvicorn --reload {{import.path:app_object}}
Turn on live reload:
