mydisplay-server API
- URL: /api/users /api/users/[userid]
- /api/contacts /api/contacts/[contactid]
- contact activities /api/contacts/int:contactid/activities /api/contacts/int:contactid/activities/int:activityid
- contact notes /api/contacts/int:contactid/notes /api/contacts/int:contactid/notes/int:noteid
- /api/properties /api/properties/int:propertyid
- property appraisals /api/properties/int:propertyid/appraisals /api/properties/int:propertyid/appraisals/int:appraisalid
- property contacts /api/properties/int:propertyid/contacts /api/properties/int:propertyid/contacts/int:contactid
- Appraisal notes /api/appraisals/int:appraisalid/notes /api/appraisals/int:appraisalid/notes/int:noteid
- activity notes /api/activities/int:activityid/notes /api/activities/int:activityid/notes/int:noteid
- contact notes /api/contacts/int:contactid/notes /api/contacts/int:contactid/notes/int:noteid
- docker build -t realestate:latest .
- docker run -p 3306:3306 --name mysql -d -e MYSQL_RANDOM_ROOT_PASSWORD=yes -e MYSQL_DATABASE=realestate -e MYSQL_USER=realestate -e MYSQL_PASSWORD=DbUserPassword mysql/mysql-server:5.7
- docker run -it --name realestate -d -p 8000:5000 --link mysql:dbserver realestate:latest
- Now the app is available on 8000 port of the host machine