3 ms·
Interesting idea. So we're in Beta and looking for good ideas like this to build showing our technology. For background, we take a user's GitHub repo and deploy
by jayjohnson 12y ago
Interesting idea. So we're in Beta and looking for good ideas like this to build showing our technology. For background, we take a user's GitHub repo and deploy them into REST API endpoints hosted on EC2. Each REST API is already paired with a database with SQLAlchemy. Clients invoke their REST API to publish their code as a "Job" requiring 3 parts: inputs, outputs, and tasks to perform (states). Those tasks can be whatever is necessary for your tdd and we test Jobs directly from our Web Developer Dashboard or with our cli.
I could see something like a Final Exam repo setup where your students fork it for development and then testing based off the same code and tests are shared already in the repo and can be invoked for grading from our cli or the Web Developer Dashboard.
Some More Information on FlowStacks (https://flowstacks.com/ https://flowstacks.com/)
FlowStacks Hello World Example
https://github.com/FlowStacks/hello-world https://github.com/FlowStacks/hello-world
FlowStacks Tests
https://github.com/FlowStacks/hello-world/tree/master/tests https://github.com/FlowStacks/hello-world/tree/master/tests
Endpoint-specific Database Schema
https://github.com/FlowStacks/hello-world/blob/master/schema/demo_database_schema.py https://github.com/FlowStacks/hello-world/blob/master/schema...
Example Job Inputs
https://github.com/FlowStacks/hello-world/blob/master/src/ra_send_email_template_to_user.py#L14-L21 https://github.com/FlowStacks/hello-world/blob/master/src/ra...
Outputs:
https://github.com/FlowStacks/hello-world/blob/master/src/ra_send_email_template_to_user.py#L23-L24 https://github.com/FlowStacks/hello-world/blob/master/src/ra...
Example Job Tasks to Perform (States)
https://github.com/FlowStacks/hello-world/blob/master/src/ra_db_flowstacks_create_new_record.py#L209-L225 https://github.com/FlowStacks/hello-world/blob/master/src/ra...
We also support Jobs integration with Redis
https://github.com/FlowStacks/hello-world/blob/master/src/ra_store_simple_user_value.py#L57-L62 https://github.com/FlowStacks/hello-world/blob/master/src/ra...
Contact me if you have more questions.
Cheers,
Jay