Skip to content

Technical aptitude test - A calculator function in C++ connected with a NodeJS API

Notifications You must be signed in to change notification settings

GaboDotCodes/technicalAptitudeTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Technical aptitude test

This is a simple technical test.

I enjoyed this

I was developing a C++ Addon to Node JS, some topics in this test were unknown to me but I like challenges and here we are with other challenge completed.

To see in action

To install

  • Just clone this repo
  • Create a .envrc file in project root with:
  export PORT=3000
  export HELP_URL=https://github.com/GABOdotCODES/technicalAptitudeTest

(I added HELP_URL just to show env vars skill)

  • Execute npm install
  • Execute npm i -g node-gyp
  • node-gyp is a cross-platform command-line tool written in Node.js for compiling native addon modules for Node.js) more info...
  • Wait... ¿What's an Addon? Addons are dynamically-linked shared objects written in C++. The require() function can load Addons as ordinary Node.js modules. Addons provide an interface between JavaScript and C/C++ libraries. more info...
  • ¿Does that mean...? Yes, you're right, run C++ code inside NodeJs 🤯 Imagine that performance in a web service 🚀
  • Ok! Let's continue
  • Execute npm start
  • You finish! Now, you've a piece of C++ running in http://localhost:3000/

About

Technical aptitude test - A calculator function in C++ connected with a NodeJS API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published