Simple but functional web app to test back-end fragments microservice and manage authentication with AWS User Pool
-
npm installto install all the dependencies along with node modules folder. -
After installing all the dependencies, you can run
npm run startto boot the server on port1234.: -
You can also run
npm run cleanto clean thedistand.parcel-cachefolders.
Note: You first need to make sure back-end fragments running properly on
localhost:8080and 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.
