calculatorReact&Node

calculator where you can only access if you are 42, because we are cool

USAGE

cd calculator
mv server/envEXAMPLE server/.env
Fill .env with your SERECRET and UID
Docker-compose build
Docker-compose up
docker-compose exec client  npm install axios
docker-compose exec client  npm install react-json-view
docker-compose exec server  npm install express
docker-compose exec server  npm install express-session
docker-compose exec server  npm install dotenv
reaload One file to auto Save de container

Then open http://localhost:3000 :)

web Flow

Login

Login

Auth

auth

Loading

Loading

Home

home

Steps to follow if I had more time:

To DO

  • Create sessions
  • add more function to calculator
  • Get better loading and calculator style
  • get the user of 42 info in DB and not in json
  • Clean and organizate better de code

DOC