This repo contains the instructions and the data you need to complete the 9Spokes coding challenge. This challenge is not intended to be complex, but it is an opportunity for you to showcase your understanding and applying of good development practices.
You are encouraged to treat this as a real-life project. This typically means:
- Use version control effectively
- Include some basic documentation
- Include some unit tests
- Use a naming convention
You are free to use any programming language you'd like.
You are tasked with developing an application that performs the following tasks in sequence:
- Read and parse an external data file
data.json
(located in this repo) - Using this data, calculate and print the values of 5 common accounting metrics:
- Revenue
- Expenses
- Gross Profit Margin
- Net Profit Margin
- Working Capital Ratio
- Commit your changes, and upload all your work to a feature branch of your choice.
To run the file, Please give
- npm start
Sample Output :
revenue $1,432,423 expense $1,432,423 Gross Profit : 0% Net Profit Margin 0% Working Capital Ratio: 140%