Giter VIP home page Giter VIP logo

voxus-challenge's Introduction

voxus-challenge

Voxus Challenge I - Sunrise and Sunset information based in latitude and longitude with RestAPI interface.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Docker: Install Docker on your system. You can download it here.

Getting Started

To get this project up and running, follow these steps:

  1. Clone this repository:

    git clone <repository-url>
    cd project-directory
  2. Create a .env file and set environment variables that your project requires. Refer to the .env.dev file for examples or create your self .env file for your working setup.

    cat .env.dev > .env # for development mode
  3. Build and start the Docker containers of docker-compose.yaml:

    docker compose --env-file .env up -d
  4. Swagger Endpoint documentation based in Postman can be found at: https://github.com/MichaelDeMattos/voxus-challenge/docs/

Testing application

  1. Clone this repository:

    git clone <repository-url>
    cd project-directory
  2. Installing project dependencies (recommended to use python virtualenv)

    python -m venv venv
    source venv/bin/activate
    pip install -r requirements.txt
  3. Running suite of tests

    pytest src/tests

Tech Stack

  • Python: Python is a high-level, interpreted, script, imperative, object-oriented, functional, dynamically-typed, and strongly-typed programming language.

    • pytest: Pytest is a Python testing framework that originated from the PyPy project.
    • Flask: Flask is an HTTP framework for Python, simplifying API development and web applications.
    • Pydantic: Pydantic is the most widely used data validation library for Python.
    • AIOHTTP: Asynchronous HTTP Client/Server for asyncio and Python.
    • uWSGI: WSGI HTTP Server for UNIX
  • Redis: Redis is an in-memory key-value store known for its low-latency and high-performance data retrieval.

  • Nginx: Nginx is a high-performance, open-source HTTP server, proxy server, and reverse proxy server that can also function as a load balancer.

  • Docker: Docker is an open platform for developing, shipping, and running applications.

Connect with Me:

voxus-challenge's People

Contributors

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