Simple but functional web app to test back-end fragments microservice and manage authentication with AWS User Pool
-
npm install
to install all the dependencies along with node modules folder. -
After installing all the dependencies, you can run
npm run start
to boot the server on port1234
.: -
You can also run
npm run clean
to clean thedist
and.parcel-cache
folders.
Note: You first need to make sure back-end fragments running properly on
localhost:8080
and configured env variables for AWS user pool authentication.
Fragments UI has a Dockerfile that uses 3 stages (dependency, build and production) to build the image. The final stage is based on nginx:alpine
and the final image size is around 139MB.