This is a technical assessment developed in Laravel framework. It's an API that retrieves Mexican Zip Codes information.
Stack and Steps Followed.
- Laravel
- MYSQL
- Python
- Heroku
- AWS -> RDS
- AWS -> EC2
- Downloading DB from Zip Code DB.
- Desiginig optimal ER Diagram.
- 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.
- Configuring Docker with api, nginx and db.
- Creating Laravel proyect.
- Making Models and it's relevants files such as controllers, migrations, etc.
- Configuring database structure (migrations, keys, relations, etc.).
- Configuring Model connections.
- Running Seeders with
.py
generated files. - Writing ZipCode controller including error hanling.
- Configuring routes in
api.php
. - Testing local proyect.
- Creating Heroku App.
- Creating AWS RDS MySQL database.
- Configuring EC2 to enable Heroku connection.
- Uploading Laravel proyect to Heroku.
- Uploading database to AWS RDS.
- Testing online proyect.