diff --git a/.gitignore b/.gitignore index e4d227ce..b7d015fb 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ out/ .classpath .factorypath *newman/ +.vscode/ diff --git a/README.md b/README.md index 1c1c0803..38673c9f 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ -
- +
+
## What is NaN(O) At Sahaj, tech consultants operate at the intersection between engineering and art. Simply put, they are artisans who take on complex engineering problems in the software industry across a wide spectrum of domains. Their work is deeply rooted in first principles thinking - asking fundamental questions to dissect and understand a problem which eventually leads to one-of-a-kind solutions, each as distinct as a fingerprint. -Through NaN(O), a hackathon driven by Sahaj across multiple colleges in India, they want to instill a culture of applying first principles thinking to a problem statement. +Through NaN(O), a coding event driven by Sahaj across multiple colleges in India, they want to instil a culture of applying first principles thinking to a problem statement. ------ @@ -71,14 +71,17 @@ Content-Type: application/json In order to submit a solution, follow these steps. - Fork the **nano-demo-calculator-app** repository ([How to fork a repository github](https://docs.github.com/en/get-started/quickstart/fork-a-repo)) + - Deselect the "Copy the main branch only" to copy other language demos as well - Clone the forked repository ([How to clone a repository github](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository)) +- Change the branch according to the language of your choice (This demo is available in (language-> branch) "kotlin"-> main, "node" -> "node", "python" -> "python", "cpp" -> "cpp" ) ([How to change branches git ](https://www.freecodecamp.org/news/git-switch-branch/)) +- Enable workflows in your github fork (Under the actions tab -> Select "I understand my workflows, go ahead and enable them" to enable the test workflow) - Use your favourite editor to make changes - Create a commit after testing it locally ([How to commit git](https://github.com/git-guides/git-commit)) -- Push the commit to the remote (github repo) ([How to push git](https://docs.github.com/en/get-started/using-git/pushing-commits-to-a-remote-repository)) -- If all your changes work well, you will see a green tick on the actions section on your repo ([How to see last run action](https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/viewing-workflow-run-history)) +- Push the commit to the remote **to the same branch** (github repo) ([How to push git](https://docs.github.com/en/get-started/using-git/pushing-commits-to-a-remote-repository)) +- If all your changes work well, you will see a green tick on the actions section on your repo under the selected branch ([How to see last run action](https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/viewing-workflow-run-history)) - If it's a cross mark, the logs will tell you what you did wrong. - Fix the issue, and repeat steps 4+ to resubmit -- Congratulations, you have successfully solved the dummy problem and are ready for the actual hackathon. +- Congratulations, you have successfully solved the dummy problem and are ready for the actual event. ###### Hint diff --git a/bin/main/application.yml b/bin/main/application.yml new file mode 100644 index 00000000..400863bc --- /dev/null +++ b/bin/main/application.yml @@ -0,0 +1,7 @@ +micronaut: + application: + name: nanoDemoCalculatorApp +netty: + default: + allocator: + max-order: 3 diff --git a/bin/main/com/nano/Application.kt b/bin/main/com/nano/Application.kt new file mode 100644 index 00000000..628f9abb --- /dev/null +++ b/bin/main/com/nano/Application.kt @@ -0,0 +1,7 @@ +package com.nano + +import io.micronaut.runtime.Micronaut.run +fun main(args: Array