Skip to content

An API which provides insights into relocating to a new Country

License

Notifications You must be signed in to change notification settings

pcelta/movyn-api

Repository files navigation

Pre-requirements

  • Make
  • Docker
  • Docker Compose

Installation

Add the following line to your /etc/hosts file

127.0.0.1 local-movyn-api

In the root directory, run the build command. This will build the necessary docker images

make build

To install all php dependencies

make composer c=install

Start and run the docker containers

make start

Import seeds. This will populate your database with the relevant initial data

make import-seeds

You should be able to access this url: http://local-movyn-api/health-check in your browser. You should see the response below

{
  "message": "Movyn API is up and running! Let's roll!"
}

Other useful available commands

Show all available commands

make help

Stop the containers

make stop

Stop and remove all containers

make reset

If you need to get inside the php container

make ssh

To run the tests

make phpunit [path=path-to-a-file-or-folder]

To run bin/console commands

make bin c=<SOME-COMMAND>

About

An API which provides insights into relocating to a new Country

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published