Giter Club home page Giter Club logo

parcelaja-challenge's Introduction

Parcela Já Challenge

The specifications for this challenge are present in the file. EXERCICIO - BACKEND ROLE.pdf

First part

Prerequisites

  • PHP >=7.3

How execute it

To run the first part of this challenge, call the command in the terminal

php -q PHPPOOChallenge/index.php

Second part (Symfony Shape Project)

Prerequisites

  • Docker
  • Docker Compose

How execute it

  • First configure your .env and configure the container ports inside the docker-compose.yml file
  • If you use Windows, add in your C:\Windows\System32\drivers\etc\hosts the following content 127.0.0.1 parcelaja.local
  • If you use UNIX (Linux/MAC), add in your /etc/hosts the following content 127.0.0.1 parcelaja.local

The, run:

cd SymfonyShapeChallenge
docker-compose build
docker-compose up -d
docker exec -it symfony_parcelaja bash -c 'composer install'
docker exec -it symfony_parcelaja bash -c 'php bin/console doctrine:migrations:migrate'
docker exec -it symfony_parcelaja bash -c 'php bin/console app:seed-shape'
docker exec -it symfony_parcelaja bash -c 'php ./vendor/bin/phpunit'

To access in the browser, open the http://parcelaja.local/shape/list

Note.: If this doesn't work, review the .env content and port definitions in docker-composer.yml

parcelaja-challenge's People

Contributors

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