-
Install the dependencies by writing
npm installin your terminal. -
Add your Switch API keys (available in the Dashboard) to
index.js. -
In order to start the server, you only need to type
node index.jsin your terminal.
That's it!
Now, with the express server running, you have a fully functional e-commerce website capable of accepting payments.
Available URLs
E-Commerce Page - http://localhost:3008
Orders Page - http://localhost:3008/orders