Challenge to job application to Full Stack PHP position
Backend
- PHP >= PHP 7.3
- BCMath PHP Extension
- Ctype PHP Extension
- Fileinfo PHP extension
- JSON PHP Extension
- Mbstring PHP Extension
- OpenSSL PHP Extension
- PDO PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
- Composer
Frontend
- Node.js 12.22 or later
- npm package manager
In the frontend we use NextJS, the React Framework.
- Run the following command:
cd frontend npm install
- Configure the .env file with the api url
- Once finished, we can run the following command to get the app live in localhost:3000.
npm run dev
In the backend we use Laravel 8.
- Run the following command:
cd backend composer install
- Configure the .env file with MIN and MAX random numbers
- Once finished, we can serve our app by running the following command
php artisan serve