Adobe Presenter Express is a top notch capture program, and it is fast. But the other day I downloaded Adobe Presenter Express and I was very impressed. Now we'll move our app's GET listener to routes.js. For major video projects, or when I need to edit videos beyond just trimming I use Adobe Primer however, when I needed to do just short Web cam videos or screen captures I would used other tools, mainly Techsmith’s Camtasia Studios. js extension is not necessary in the require. Let's create a new directory called routes and a file within it called routes.js. We're going to set up a router and make some fake data to display. So far, we only have a GET route to the root ( /), but our API should be able to handle all four major HTTP request methods on multiple URLs. If you send a curl -i to the server, you'll see that the header now returns Content-Type: application/json charset=utf-8. Once the setup is complete, you'll have a package.json file that looks like this: `) This command will prompt you to answer some questions about the project, which you can choose to fill out or not. Now that we're in our new directory, we can initialize our project with the init command. Let's create a project directory called express-api and move to it. Your versions may be slightly different than mine, but as long as both are there, we can get started. Open up your command prompt and type the following. We can test both using the -v flag, which will display the version. Our first prerequisite is making sure Node.js and npm are installed globally on the computer. You can build an API with any programming language and server software, but we will use Node.js, which is the back-end implementation of JavaScript, and Express, a popular, minimal framework for Node. In this tutorial, we'll set up a server for our API to live on.
Adobe presenter video express promotional code how to#
In the previous tutorial, we learned what the REST architecture is, the six guiding constraints of REST, how to understand HTTP request methods and their response codes, and the anatomy of a RESTful API endpoint.