Giter VIP home page Giter VIP logo

crwd-app's Introduction

crwd-app

Overview

Crwd app is a test python app.

It starts on port 5001 and exposes 2 endpoints - / and /hello.

Validation

I have added a simple test to validate the app is working as expected. Test can be found in tests directory. It uses pytest and requests library to validate the app. Tests can be also run locally with the command: ./test.sh

Dependencies

I have added a requirements.txt file to install the dependencies.

Pipeline

It contains a Jenkinsfile which is used to trigger the build and deployment of the app to a local k8s cluster. Jenkinsfile can be found in the jenkins directory.

Important notes

I have updated the 5000 port to 5001 (on my laptop i had the 5000 port already in use). I have updated the host ip of the server to 0.0.0.0 to be able to be accessible from outside the container.

Docker

I have added a Dockerfile to build the image of the app.

Versioning

I have added a version file to keep track of the app version. This will be reflected in the docker build tags as well.

crwd-app's People

Contributors

catalincatana avatar

Watchers

 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.