Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/websoftwares/minds
Beatles John, Paul, George and Ringo are planning to go on a magical mystery tour.
https://github.com/websoftwares/minds
Last synced: about 1 month ago
JSON representation
Beatles John, Paul, George and Ringo are planning to go on a magical mystery tour.
- Host: GitHub
- URL: https://github.com/websoftwares/minds
- Owner: websoftwares
- License: mit
- Created: 2018-09-16T18:28:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-16T22:00:20.000Z (over 6 years ago)
- Last Synced: 2024-10-12T13:16:03.407Z (4 months ago)
- Language: PHP
- Size: 52.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/websoftwares/minds.svg?branch=master)](https://travis-ci.org/websoftwares/minds)
# Beatles
John, Paul, George and Ringo are planning to go on a magical mystery tour in their yellow submarine. In order
for all their friends to be aboard they need a system to find out where to find them.
The attached json file includes their guests, who invited them and their pickup locations.
Build a system that lets you query the guests of each Beatle; We need to know:- How many guests each Beatle invited
- A leaderboard of the most liked albums
- How many people are being picked up from each location.You do not need to build a graphical UI or use a database, but you should architect the code to potentially
support such an addition in the future. You should build an OOP system which makes use of Models and
Controllers. Please do this in Typescript or PHP.## System requirements
- PHP 7.2+
- Linux system (recommended)
- Docker (recommended)
- Docker compose (recommended)## Installation
1) Install dependencies:
```
php composer.phar install
```2) Start php web server from root folder (not document root)
```
php -S localhost:8080 -t public/
```## Docker
Run the application with docker do the following command from the project root folder `docker-compose up`
## Testing
Project has `unit` and `integration` tests
### Unit tests
In the `/test` folder u can find several tests run them with the following command from the project root folder `vendor/bin/phpunit`### Integration tests
In the `/test/integration` folder u can find several tests execute them with the following command from the project root folder `./test-integration.sh`
## License
The [MIT](http://opensource.org/licenses/MIT "MIT") License (MIT).