JuanPRubio / backend-laravel-technical-assessment

MEXICAN ZIP CODE INFORMATION ENDPOINT

Home Page:https://xhash-api.herokuapp.com/api/zip-codes/85200

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Backend Developer Laravel - Technical Assessment Example

About

This is a technical assessment developed in Laravel framework. It's an API that retrieves Mexican Zip Codes information.

Procedure

Stack and Steps Followed.

Stack

  • Laravel
  • MYSQL
  • Python
  • Heroku
  • AWS -> RDS
  • AWS -> EC2

Steps

  1. Downloading DB from Zip Code DB.
  2. Desiginig optimal ER Diagram.

ERD

  1. Procesing it with Python to achieve SQL uploadable files. The .py file iterates .txt and creates the files.

    Python was the choice because of it's practicality and easiness processing and writing files.

  2. Configuring Docker with api, nginx and db.
  3. Creating Laravel proyect.
  4. Making Models and it's relevants files such as controllers, migrations, etc.
  5. Configuring database structure (migrations, keys, relations, etc.).
  6. Configuring Model connections.
  7. Running Seeders with .py generated files.
  8. Writing ZipCode controller including error hanling.
  9. Configuring routes in api.php.
  10. Testing local proyect.
  11. Creating Heroku App.
  12. Creating AWS RDS MySQL database.
  13. Configuring EC2 to enable Heroku connection.
  14. Uploading Laravel proyect to Heroku.
  15. Uploading database to AWS RDS.
  16. Testing online proyect.

About

MEXICAN ZIP CODE INFORMATION ENDPOINT

https://xhash-api.herokuapp.com/api/zip-codes/85200


Languages

Language:PHP 86.2%Language:Blade 12.2%Language:Dockerfile 0.6%Language:Shell 0.6%Language:JavaScript 0.4%Language:Procfile 0.0%