- Express and NodeJS for the backend.
- React, React Router and React Hooks for frontend.
- Semantic UI css framework with Semantic UI React Integration.
- Docker for building docker images and containerizing application.
npm ci
inside projects directory.- Run
npm run develop
inside projects directory to start up the backend and react server in development mode. - Client uses
create-react-app
server with hot reload on changes and server usesnodemon
for server reloading on code changing.
-
Create
server-prod-variables.env
environment variables file which should be created before runningdocker-compose up
and is required bydocker-compose.yml
server-prod-variables.env
:NODE_ENV=production PORT=8080
-
Running
docker-compose up --build --detach
will build the client and server docker images, and then run them inside two different containers and under one container stack.