Skip to content

API para os aplicativos de MOC (Marcação Online de Cirurgias)

Notifications You must be signed in to change notification settings

hugogrochau/moc-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

moc-api

API para os aplicativos de MOC (Marcação Online de Cirurgias)

Dependencies

Installing

  1. Clone this repo
  2. Install composer
  3. Configure conf/propel.json.default with the db information and remove the .default extension
  4. Run composer install
  5. Install docker

Running

  1. Run composer create to create a docker container
  2. Run composer run to run the server within the container
  3. Open 127.0.0.1:8080
  4. Run composer stop to stop the server

Other Commands

Propel

  • composer build-schema to generate a schema from a database (requires propel.json configuration)
  • composer build-models to build propel models from schema
  • composer generate-config to generate conf/config.php from conf/propel.json

Testing

  • composer test to run all tests

Docker

  • composer remove-containers to remove all related docker containers

Stack

About

API para os aplicativos de MOC (Marcação Online de Cirurgias)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages