SHARE

Hey ninjas, in this REST API tutorial I’ll show you how to set up an express app in Node.js. Express is a package which easily allows us to create web applications in Node.js.

—– COURSE LINKS:
+ Repo – https://github.com/iamshaunjp/rest-api-playlist
+ Atom editor – https://atom.io/a
+ Download GIT – https://git-scm.com/
+ Node.js for Beginners Playlist –
https://www.youtube.com/playlist?list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp
+ MongoDB playlist – https://www.youtube.com/playlist?list=PL4cUxeGkcC9jpvoYriLI0bY8DOgWZfi6u

———————————————————————————————
You can find more front-end development tutorials on CSS, HTML, JavaScript, jQuery, WordPress, Node.js & more on the channel homepage…

SUBSCRIBE TO CHANNEL – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1

========== PSD to WordPress Playlist ==========

https://www.youtube.com/playlist?list=PL4cUxeGkcC9gnow7e45LQFkNVxwQ5BH-W

============ Node.js for Beginners Playlist =============

https://www.youtube.com/playlist?list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp

============== The Net Ninja =====================

For more front-end development tutorials & to black-belt your coding skills, head over to – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg or http://thenetninja.co.uk

================== Social Links ==================

Twitter – @TheNetNinja – https://twitter.com/thenetninjauk

18 COMMENTS

  1. I get this error in the console with the process.env.port || 8080:
    "No 'Access-Control-Allow-Origin' header is present on the requested resource."
    I've trying installing the CORS middleware, but it throws additional errors.
    When I instead try app.listen(8080); I receive the error:
    "WebSocket connection to 'ws://localhost:8080/sockjs-node/935/wit0kjsu/websocket' failed: Connection closed before receiving a handshake response"
    Can anyone point me on how to debug?

  2. I have a question. I tried installing express but its taking a lot of time. While your's takes seconds. What's the difference?

  3. Your Lessons are so great and clear. A person who doesn't have strong coding background like me even can understand the Process. You are a great inspiration. 🙂

LEAVE A REPLY

Please enter your comment!
Please enter your name here