One of:
- .Net SDK and Runtime v8.x
- NodeJS v20.x
- Golang v1.22.x
- NodeJS v20.x
Choose your favorite IDE or one of these:
- Visual Studio Code (free)
- Visual Studio (community edition free)
- JetBrains Rider (free trial)
- JetBrains Webstorm (free trial)
- JetBrains GoLand (free trial)
The best way to work with this repository is to select a framework option for the backend (.Net, Node.js, Go) and open it. Then open the UI project in a separate IDE or window.
Verify the applications are working properly by running the following commands:
Start / Debug the .Net project or enter CLI commands from the BFF project directory
# from project directory BFF/dotnet
dotnet build Interview-CurrencyConverter-Refactor.sln
dotnet run Interview-CurrencyConverter-Refactor.sln --project Interview-CurrencyConverter-Refactor/Interview-CurrencyConverter-Refactor.csproj
Start / Debug the Node.js project or enter CLI commands from the BFF project directory
# from project directory BFF/nodejs
npm install
npm run dev
Start / Debug the Go project or enter CLI commands from the BFF project directory
# from project directory BFF/go
go run main.go
For any of the above options, the server should be running on http://localhost:58415/
Start / Debug the UI project or enter CLI commands
# from project directory UI/react
npm install
npm run dev
- Open a browser and navigate to http://localhost:5173/
- Enter an amount and click CONVERT button
If everything is working properly you will see a conversion amount under the form.
Identify areas in both projects to Refactor and any improvements or new tests where needed. There is one test failing in BFF project. Fix the code and/or the test to get it passing.