Coder Social home page Coder Social logo

kaffa-test's Introduction

Kaffa-test

A repository to do some chalanges to Kaffa Mobile

Author: Vinícius Viana dos Santos

Objective: Complete at least 2 of the exercises from the Kaffa- pre-qualification test (2019/2S) pdf.

Settings

Install environment

To configure all the project its needed to create an environment and install all the required libraries.

To do this, first install virtualenv library with pip.

sudo apt install python3-venv

python3 -m pip install --user virtualenv

Creating a virtual environment

Then, to create the environment, inside the simple-todo directory run:

python3 -m venv env

Activating a virtual environment

Finally, activate the environment. Execute:

source env/bin/activate

Requirements

Once a virtual environment was created and activated, install all the libraries that the project require.

All the requirements are listed in the requirements.txt file.

To install all the requirements run: pip install -r requirements.txt

Instruction to exercises 1 and 2 - CNPJ validate

Run the following command: python cnpj.py

Instructions to exercise 4 - Todo List

Build a database

A model of a database was designed to use in this exercise. To build it, open the Python interpreter and run:

    >>> from app import db

    >>> db.create_all()

    >>> exit()

Run

To execute the project, inside the simple-todo directory, run the following command: python app.py

Instructions to exercises 5 and 6 - REST client and server

Run the following command: python rest.py

Instructions to exercises 7 - Entity Relationship Diagram - Simple Order Manager

The answer is available inside the Simple Order Manager pdf.

kaffa-test's People

Watchers

Vinícius Viana 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.