Skip to content

Flask microservice that serves as the runtime engine behind the OpenStata ecosystem. Takes compiled input and datasets, and runs econometric analysis.

Notifications You must be signed in to change notification settings

dartmouth-cs52-20X/openstata-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Stata

What is Open Stata?

Open Stata is an in-browser replication of the basic functionality of the proprietary statistical software Stata, combined with free tutorials and sample datasets to get anyone started with learning it.

Architecture

Frontend

  • UI Styling: CSS and Material-UI
  • Frontend structure: React
  • Frontend state management: Redux
  • API calls: Axios
  • Authentication: jwt

Backend

  • Platform: Node/Express
  • Parser generator: Nearley.js
  • Microservice HTTP calls: Axios
  • Database: MongoDB and Mongoose
  • Persistent data file storage: S3
  • Authentication: Passport.js

Statistics Microservice

  • Platform: Flask
  • Statistics: econtools, pandas.

Setup

To get this microservice running, first do pip install -r requirements.txt to install the necessary packages. You can optionally use a virtual environment, but it's not too necessary for this project. Next, set an environment variable to tell Flask what Python file to look for by executing the command export FLASK_APP=app.py in the shell.

After this is done, you can start the microservice locally with just flask run.

Deployment

Frontend: Netlify https://open-stata.netlify.app/

Backend: Heroku https://open-stata.herokuapp.com/

Backend Microservice: Heroku https://open-stata-other-api.herokuapp.com/

Authors

Jared Cole Jared Cole Arjun Srinivasan Arjun Srinivasan Jeff Liu Jeff Liu
Jack Keane Jack Keane Val Werner Val Werner Chris Sykes Chris Sykes

Acknowledgments

The CS52 Teaching team!

About

Flask microservice that serves as the runtime engine behind the OpenStata ecosystem. Takes compiled input and datasets, and runs econometric analysis.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •