Thanks for interviewing at Stripe.
To make sure that we can use our time best in the interviews, we'd like to have you do some setup on your laptop in advance. If you don't have a laptop, let your recruiter know, and they will supply you with a loaner laptop for your in-person interviews.
First, clone or download this repository to your computer via the links on the right (creating a fork of the repository is not necessary).
git clone https://github.com/stripe-interview/javascript-interview-prep.git
We will be working with Node.js (Long term support vesrsions 18 or later). If you haven't installed Node.js yet, please follow the Node.js installation guide.
First, we will use NPM to try installing some JavaScript packages.
Install dependencies for this project by running the following command:
# If you're using npm
npm install
This will set up the node-fetch
package specified in the package.json file. Don't read too much into the particular packages that are installed.
To test your toolchain run the hello-world.mjs
script using Node.js with the following command:
node hello-world.mjs
This will fetch some data from an open api and print it out. If you need further assistance, check out the Node.js documentation.
We've included a launch.json
with this project that will setup debugging in VSCode. Try setting a breakpoint in hello-world.mjs
and using the launch-program
command on the Run and Debug
tab to enter debugging mode. VSCode is recommended, but use whichever editor you are most comfortable with.
Happy interviewing!