Skip to content

monganai/RideSafe-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RideSafeAPI

Mobile Application backend/homepage for RideSafe.

flapi is written mostly in python using flask, the frontend uses mostly html with some javascript. The app is fully integrated with Datadog and will require an agent deployed alongside flapi & redis to function.

flapi has the following features enabled by default:

  • APM
  • Custom metrics
  • Log collection
  • RUM
  • Browser Logs
  • Profiling

flapi can be found on docker hub, and in general the tag latest will be fully up to date with this repo. Flapi supports X86/x64 systems at this time only, however can be builr to run on ARM devices. Find flapi here on docker hub!

Kubernetes setup:

  • Create a new deployment (minikube etc)
  • kubectl create -f datadog-agent.yaml
  • kubectl create -f redis.yaml
  • Add your API key, client token and Application_id as seen in the sample flapi deplyment file`
  • kubectl apply -f flapi-deploy.yaml

Flapi will be exposed via port 8080 & nodePort 30000

Note: RidesafeAPI is currently hosted locally in microk8s, the daemonset for the Datadog Agent is modified in order to work in this environment and wont work elsewhere.

View the site running live here!

service_map