rafacarva / aspnet-bill-generator Goto Github PK
View Code? Open in Web Editor NEWA micro-service that calculates the customer account value.
License: MIT License
A micro-service that calculates the customer account value.
License: MIT License
https://github.com/andreariano/interview-tests/blob/master/INTERMEDIATE_TEST.md
### Backend Intermediate Test
Imagine a company of theatrical players who go out to various events performing plays. Tipically, a customer will request a few plays and the company charges them based on teh size of the audience and the kind of play they perform. There are currently two kinds of plays that the company performs: tragedies and comedies.
### Create a micro-service able that charges the customer based on the following business rules.
### Business rules
The plays they currently perform are
hamlet (tragedy)
as-like (comedy)
othello (tragedy)
The micro-service must process the following example data to calculate the bill
Customer name: <name_of_the_customer>
performances:
Play: hamlet / Audience: 55
Play: as-like / Audience: 35
The price for tragedy plays is $40,000 plus $1,000 for each additional person in the audience that surpasses 30
The price for comedy plays is $30,000 plus $500 for each additional person in the audience that surpasses 20
### Non functional requirements
Use whatever language, tools and frameworks you feel comfortable with, and briefly elaborate on your solution, architecture details, choice of patterns and frameworks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.