- Tanuj Kulkarni - tskulkar
- Abhishek Potdar - apotdar
- Yaswanth Baddi - ybaddi
Description
Coffee app is a simple web application built with Node.js, Express and Javascript. This repository contains the full source code, test suite, static assets and GitHub workflow automations.
CI/CD
Ci.yml runs on pull request to any branch with jobs with lint, unit-test, build and audit. The main_pipeline.yml gets triggered on push to release branch and has same steps as ci.yml along with deploy to staging and production and their smoke tests.
Developer Guide
- public/indes.html: This is the home page of coffee app which shows all the coffee list with their name and prices along with promo banners.
- public/script.js: This has javascript actions on the home page based on the API calls
- app.js: This provides the Get, Post, and Put API's to update the feature configuration for each store.
- data.js: This file provides the default coffees and prices for the application. webpack.config.js: This file contains the configuration for webpack to build the coffee app.
- test/unit_test/app.test.js: This file contains the unit tests for the coffee app for GET and POST requests.
- test/smoke_prod/smoke.prod.test.js: This file contains the smoke tests for the staging environment for GET and POST requests.
- test/smoke_staging/smoke.staging.test.js: This file contains the smoke tests for the production environment for GET and POST requests.