An open API service indexing awesome lists of open source software.

https://github.com/patrickjaja/my-apartment-app


https://github.com/patrickjaja/my-apartment-app

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

##Apartment PWA (+ PHP Implementation)

### Setup (Frontend)

##### Prerequisites
* Install polymer-cli `npm install -g polymer-cli`
* Install bower `npm install -g bower`
* Locate bower.json and install dependencies with `bower install`

### Setup (Server)
* Install PHP (Tested with PHP Version 7.1.1)
* Ensure /api is getting parsed by PHP processor
* Install MySQL DB (Port: 3306)
* Create DB, Load in Dump dump/db.sql

### Configure App
* Insert DB Credentials /api/db.inc.php
* In src/main.js replace 'http://localhost/my-apartment/api/server.php' with your URL to server.php

### Start
* Locate polymer.json and serve content `polymer serve`

### Activate mailing
* ensure PHP mail() is working on installed PHP machine
* locate class.apartments.php and comment in line 39


## Documentation

![alt text](doc/startApp.gif)
![alt text](doc/createApartment.gif)
![alt text](doc/deleteApartment.gif)
![alt text](doc/editApartmentSaveChanges.gif)
![alt text](doc/editApartmentValidKey.gif)
![alt text](doc/editApartmentWrongKey.gif)