Coodesh Back-end Challenge
🏅
2021

ID: 917

The Python Back-end Coodesh Challenge

Description

This API automatically retrieves users from the RandomUser.me once a day and stores on an internal database for later CRUD operations.

About the API

This API is built on python using the Flask-RESTx + SQLAlchemy ORM and SQLite3 database + Marshmallow Serializer.

How to install

  1. Clone this repository: git clone https://github.com/mv-per/coodesh-flask
  2. Install the requirements
    • pip install -r requirements.txt

How to Use

  1. Run WebServer

    • python app.py
  2. go to swagger documentation at http://localhost:5000/docs

  3. NOT IMPLEMENTED Update API configurations in API Configuration

    • max_list_size: Size of your database (Default=2000)
    • time_to_get_users: At what time the API will load the users into the database (Default=”12:48″)
    • load_size: The size of the load from randomUser (used to avoid server overloading) (Default=100)
    • flush_database_everytime: true if you want to erase all current users from database prior to add new ones (Default=false)
  4. Perform CRUD operations with the client list in the Users Section

  5. Enjoy

API DOCUMENTATION http://localhost:5000/docs

Challenge Link: https://lab.coodesh.com/mav.pereira/back-end-challenge-2021

GitHub

GitHub - mv-per/Coodesh-Flask at pythonawesome.com
The Coodesh Python Backend Challenge (2021) written in Flask - GitHub - mv-per/Coodesh-Flask at pythonawesome.com