Skip to content

Commit 9919b69

Browse files
committed
Initial post
0 parents  commit 9919b69

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+6110
-0
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# super-assignment
2+
3+
## Dependencies
4+
5+
* `guzzlehttp/guzzle` - to make API calls
6+
* `symfony/cache` - not to disturb the API much
7+
* `vlucas/phpdotenv` - to keep some config data out of files
8+
9+
## Local setup
10+
11+
**1. Run composer install:**
12+
To set up the dependencies run `composer install` the within project's root directory.
13+
14+
**2. Run application:**
15+
To run the app: :`composer serve`
16+
17+
## Run application
18+
Application can be reached from the localhost:
19+
[http://localhost:7777](http://localhost:7777) - shows the main page.
20+
21+
## Testing
22+
23+
**Run tests:**
24+
25+
Run `php ./vendor/bin/phpunit`

composer.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"name": "krupjanski/super-assignment",
3+
"type": "project",
4+
"authors": [
5+
{
6+
"name": "Dmitrii Krupianskii",
7+
"email": "[email protected]"
8+
}
9+
],
10+
"minimum-stability": "stable",
11+
"require": {
12+
"php": "^8.0",
13+
"guzzlehttp/guzzle": "^7.3",
14+
"symfony/cache": "^5.3",
15+
"vlucas/phpdotenv": "^5.3"
16+
},
17+
"require-dev": {
18+
"phpunit/phpunit": "^9.3.3"
19+
},
20+
"autoload": {
21+
"psr-4": {
22+
"App\\": "module/App/src",
23+
"Statistics\\": "module/Statistics/src",
24+
"SocialPost\\": "module/SocialPost/src"
25+
}
26+
},
27+
"autoload-dev": {
28+
"psr-4": {
29+
"Tests\\": "tests/"
30+
}
31+
},
32+
"scripts": {
33+
"serve": [
34+
"php -S 0.0.0.0:7777 -t public public/index.php"
35+
]
36+
}
37+
}

0 commit comments

Comments
 (0)