Skip to content

pnor/cure-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cure (backend)

Your server's status is always a tap away.

Cure front-end

Check it out Here

This repo contains the code for the backend that provides information for Cure. Cure was created to allow members of Cornell Appdev to be able to better monitor the status of the servers their apps rely on to function. With timestamped success and failure times, and the ability to graph the results of multiple tests over the course of a day, the team will be able document and react to unexptected server disturbances 24-7.

This backend was built using Flask and SQLAlchemy, and deployed on Google Cloud Servers.

Run Locally

Activate a python virtual enviroment and install necessary requirements with pip install -r requirements.txt. Then run with: python app.py

Database Design

.
└── App
    ├── id
    ├── name
    ├── icon
    ├── test(s)
    │   ├── id
    │   ├── name
    │   ├── url
    │   ├── method
    │   ├── parameters
    │   ├── Result(s)
    │   │   ├── id
    │   │   ├── success
    │   │   ├── createdAt
    │   │   └── updatedAt
    │   ├── createdAt
    │   └── updatedAt
    ├── createdAt
    └── updatedAt

The backend has endpoints for posting, retreiving and deletion of Apps, their Tests, and the Results of said tests.

About

CS 1998 Final / Hackathon Submission (2019 Spring Semester)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors