Skip to content

AllThatCalculator/application

Repository files navigation

Application

AllThatCalculator Application

production

allthatcalculator.io

system architecture

image

development server - for alpha test

allthatcalculator.net

system architecture

image


How to get started

1. clone repository

git clone https://github.com/AllThatCalculator/application

2. set ENV files

you don't have to set both env file if you want to run frontend/backend only.

  • env files

  • client

    • client/.env
  • server

    • server/all-that-calculator-firebase-adminsdk-XXXXXX.json
    • server/.env

3-A. Run frontend in local environment

image

  • Requirements
    • node: 16.14.1

install package

cd client
npm install

start react

cd client
npm start

3-B. Run backend in local environment

image

  • Requirements
    • docker: (20.10.XX)

build dockerfile

docker compose build

start docker container

docker compose up

trouble shooting

image

  • for Windows, use wsl
    wsl
sed -i -e 's/\r$//' ./server/entrypoint.sh

3-C. Run both frontend & backend in local environment

image

  • Requirements
    • docker: (20.10.XX)

build dockerfile

docker compose -f ./docker-compose.FEBE.yml build

start docker container

docker compose -f ./docker-compose.FEBE.yml up

note that you should visit localhost:8080 to test in browser, not localhost:3000


Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages