Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/havet-vincent/portfolio_challenge
challenge portfolio de la Fabrik du numérique
https://github.com/havet-vincent/portfolio_challenge
Last synced: 26 days ago
JSON representation
challenge portfolio de la Fabrik du numérique
- Host: GitHub
- URL: https://github.com/havet-vincent/portfolio_challenge
- Owner: Havet-Vincent
- Created: 2020-12-16T15:11:17.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-16T15:30:02.000Z (about 4 years ago)
- Last Synced: 2024-11-12T03:11:57.823Z (3 months ago)
- Language: PHP
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PHP - Portfolio learning project
---This project goal is to develop a personal portfolio in order to learn PHP without any frameworks and with minimal packages.
**Summary**
- [Instructions](#instructions)
- [Requirements](#requirements)
- [Architecture](#architecture)
- [Helpful commands](#commands)
- [Code Review](#code-review)
- [Subject](#subject)
- [Step 1 : Display user information and portfolio from database](#step-1)## Instructions
### Requirements
Your project must respect the following requirements:
- php >= 7.4
- composer >= 2.0.7### Achitecture
You **should not modify** any of the following files and folders:
```bash
data/data.sql
public/
src/
tests/
.gitignore
composer.json
composer.lock
Makefile
phpunit-watcher.yml
README.md
```You **must only edit** `public/index.php` file and write your code in the `src/` directory (it is your freedom space).
You must respect a [Code Review](#code-review) part.
### Helpful commands
To make your code review, I will use the commands below, so your project must work with this different Makefile commands :
#### Install
To install the various required packages, you must use :
```bash
make install
```#### Tests
To run all your tests :
```bash
make tests
```To start tests watcher (which will run your tests every time you save a file in the `src/` or `tests/` directories) during development, you can use:
```bash
make tests-watch
```#### Run
To start your local application server, you must use:
```bash
make run
```To directly install and run application:
```bash
make install-run
```To directly install, test and run application:
```bash
make tests-run
```### Code review
To launch a code review, I will type this command:
```bash
make code-review
```This command will test and launch your application without development package.
So, **this command must work without any fail**.
## Step 1 : Display user information and portfolio from database
To make this part, your should develop three web pages:
- Presentation web page: to present yourself, with your description.
- Experience and training web page: to explain your professional experiences and formations with dates.
- Portfolio web page: to present your projects and realisations.All data must come from a MySql database.
### Packages
You have limited package to build this part:
- twig/twig ^3.0
- slim/psr7 ^1.2You don't have to use those packages but **you must not add any production packages**. If you need packages, you only can add them as development packages (`composer install --dev `).
**Warning:** if your application uses development packages to run, then they will not be available during code review!
### Database
Your database must be a MySql database. It must be exposed on `localhost:3308` with user `root` and password `root`.
I provide a dataset with file `data/data.sql`. You can edit this file and change data.
### Design
On this step, the design doesn't matter. Just use Bootstrap CDN.