The plan is to create a small webapp ex: A single field screen with type ahead search. The tech Stack to contain 4 main components:
- Web component for Presentation
- Middleware to handle web calls
- Database to store searchable data
- A Dataseeder to push data to DB before the Web/Middleware boots-up
So the approach is to create 3 docker images - One each for Web/Middleware, Dataseeder and DB. The env will be stood up using docker-compose. These images can also be hooked up as a pod for deployment on Kubernetes/minikube or Openshift/minishift.
Tasks for Web:
- Choose a simple web framework
- Create a simple screen
Tasks for Middleware:
- Orchestrate i.e handle web requests and get data from backend
Tasks for DB:
- Select a backend db
- Workout the details for DB and User creation on boot-up
- Use a default root password for the DB creation
Tasks for Dataseeder:
- Create a table
- Insert records into the table
Platform:
- Will be doing this peice of work on a Linux based platform
docker-compose -f docker-compose.yml up -d