Coder Social home page Coder Social logo

karayanni / f22-starter-microservice Goto Github PK

View Code? Open in Web Editor NEW

This project forked from donald-f-ferguson/f22-starter-microservice

0.0 0.0 0.0 8 KB

Simple Flask microservice for F22 Columbia classes.

License: Apache License 2.0

Python 100.00%

f22-starter-microservice's Introduction

F22-Starter-Microservice

Introduction

This is a simple Flask based starter microservice for F22 Columbia classes.

Setup

  • For the purposes of E6156 and W4111, please install PyCharm Professional.
  • University students can register for a free, one year license.
  • Also, please make sure that your system has already installed:
    • Python (3.9 or greater)
    • MySQL Community Server

Open the project in PyCharm and create a new virtual environment for the project. You can find the instructions online in the PyCharm documentation. After creating the virtual environment, open a terminal window using the bottom pane (open the terminal within PyCharm). In the root of the directory, execute the command

pip install -r requirements.txt

This should install the necessary Python requirements.

Executing the Program

Select the file application.py in the directory ./src in the file explorer. Right click on the file and select "run." In the execution panel at the bottom of the screen, you should see messages about "running on ... ..." This indicates that the web application has started.

Select the file tts.py and run it. The message will determine if your end-to-end test worked.

Connecting to the Database

The file columbia_student_resource.py is a simple, starter REST resource.

f22-starter-microservice's People

Contributors

donald-f-ferguson avatar karayanni avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.