From the course: JavaScript Code Challenges: Creating Web Apps
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Overview of the necessary JavaScript concepts - JavaScript Tutorial
From the course: JavaScript Code Challenges: Creating Web Apps
Overview of the necessary JavaScript concepts
- [Instructor] All right, time to go full stack. That means a lot of new things. We haven't talked about back end at all so far, so let's introduce that now. We use Node.js with Express to create a simple API that can store, retrieve, and manage data. If this is your first time writing a back end application, not to worry, it will be very beginner friendly and you don't need to understand everything in depth to be able to use it the first time. We use Express.js. This is the framework. We use the spin-up server and define routes, we need to install it. And then once we have installed it, we can use it like this. We can say that we require Express to import it and then create a new app with calling the Express function. REST APIs allow us to trigger the execution of this code with certain URLs. And in order to do that, we'll create basic routes like /items for GET, /items for POST, and we're going to be using Express' app.get and app.post methods for this. So here's an example. We…
Contents
-
-
-
-
-
-
(Locked)
Introduction: Job application tracker1m 3s
-
(Locked)
Planning the features52s
-
(Locked)
Overview of the necessary JavaScript concepts4m 6s
-
(Locked)
Creating the backend with Node.js and Express.js4m 19s
-
(Locked)
Test the backend1m 55s
-
Create the job list5m 5s
-
(Locked)
Create the form for adding jobs1m 15s
-
(Locked)
Final touches2m 53s
-
(Locked)
Challenge: Adding job favorites35s
-
(Locked)
Solution: Adding job favorites1m 37s
-
(Locked)
-
-