Giter Club home page Giter Club logo

udays-tj-backend-app's Introduction

Creating Microservices - Django REST

Features

  • Creating a microservices for a customer who can access customer portfolio
    • The customer portfilio includes- Coin access, Exchanges -Thirdparty
  • This is just a template and customizable according to your project requirement

Tech

Tools used to create microservices:

  • Django-REST - build and project configuration
  • Docker - An open source UI automation tools
  • PyTest - A library used for UnitTesting
  • Postman - A tool used for API Testing
  • Pact-IO - Writing Contract Tests
  • Locust-IO - A tool used for performance testing
  • Anchore - A tool used for Container security testing
  • Database - For now, default database

Design

picture

Installation

This requires [python] 3.0+

Install the dependencies and devDependencies and start the server.

Download the repository using
        git clone https://github.com/uday160386/udays-tj-backend-app.git
    and do
        python3 -m venv venv
        source venv/bin/activate
        pip install -r requirements.txt

Build with Docker

    docker build -t <DOCKER_PATH>:<TAG>

Run with Docker compose locally

    Docke-compose up

How to execute Tests?

    API Testcases are available at tests/ 
        Run the postman collection using Newman in CI:
            "newman run tests/Django-REST-Backend-Testing.postman_collection.json -e
            tests/env/Django-REST-Backend-Dev_env.postman_environment.json 
            -d tests/data/data.csv -r htmlextra --reporter-htmlextra-export ./results/report.html"
     
            

Note:The above paths are for reference and can be saved at your preferred path

How to view Report?

    Reports are available at : "./results/report.html"

Sample Report

picture

CI View

picture

work is still in progress .....

udays-tj-backend-app's People

Contributors

uday160386 avatar

Watchers

 avatar  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.