Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ksaveras/web-math-calculator

Simple math calculator implemented in React and Symfony.
https://github.com/ksaveras/web-math-calculator

api docker encore php php7 react symfony symfony5 web-application yarn

Last synced: about 3 hours ago
JSON representation

Simple math calculator implemented in React and Symfony.

Awesome Lists containing this project

README

        

# Simple Web Math Calculator
[![Build Status](https://travis-ci.com/ksaveras/web-math-calculator.svg?branch=master)](https://travis-ci.com/ksaveras/web-math-calculator)

### Stack
* Symfony 5.1
* Math Calculator 0.1
* React 16

## Test and Code Quality
```
composer test
composer phpcsfix
composer phpstan
```

## Dev
```
composer install
yarn install
yarn encore dev
```

## Production
```
APP_ENV=prod composer install --no-dev
yarn install
yarn encore prod
bin/console ca:cl -e prod
bin/console ca:wa -e prod
```

## Docker image
Quickest way to test application.
```
docker build -t web-calc .
docker run -it --rm -p 8000:80 web-calc:latest
```
Open your browser URL: http://localhost:8000/