Giter VIP home page Giter VIP logo

britecore-backend's Introduction

Product Development Hiring Project

Data

The models for the database can be found on the ORM python file models. There's also a diagram explaining the relationships of the models/tables of the database

entity relationship diagram

Entity Models explanation

The Risk Type information is stored in a risk_type table, we save the name and description information for the risk type in this table.

A RiskType entity has many Fields entities, we store the name of the field in this entity. A Field entity also has one FieldType associated, so one FieldType can have multiple Fields. Fixtures contain examples of field types text, date, number and enum.

For the enum field types there's another table/entity, in which we store enum values for the field, meaning that a FieldType can be associated to multiple enum options.

Backend

Flask was the python framework of choice for this project, the api endpoint tests can be found here

Frontend

The API information is collected and displayed using Vuejs and Vuex for the state management, bulma.io is used to give a little style to the app.

We have a differente Vue component for each type of field type received and so the fields are displayed according to their type.

The frontend has his own repository but for deployment it ended up merged and the html/js compiled is displayed through Flask (at the / route).

Deployment

The app was deployed to a digital ocean ubuntu droplet.

britecore-backend's People

Contributors

deathwebo avatar

Watchers

James Cloos 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.