The HTTP protocol is what we use everyday in websites and internet applications. RESTful services refer to Representational State Transfer, and take advantage of the HTTP protocol to pass data (via an API). Which brings up the next important thing, RESTful Services. API’s can include basic REST endpoints for a website, or even the methods that define a software library you’ve built. If you Google it, Google defines APIs as:Ī set of functions and procedures allowing the creation of applications that access the features or data of an operating system, application, or other service.īasically, you build out an API so that your system can communicate with whatever you’re building. This is completely introductory, so feel free to skip this section if you are already familiar.ĪPI stands for Application Programming Interface and refers to the method that computer systems use to communicate with one another. To start, I wanted to go over some basic concepts about what APIs are and how the technologies work. If you don't understand that yet, it's okay - I'll be discussing this more after the initial project is setup. You'll need to change the app id to match a project you'll be creating in the Firebase Console. Please note that the app id in the URL paths is specific to my deployed project. The GitHub repo also contains a Postman Collection - I recommend importing that collection and using that to test your project. I’m going to be referring to the code available at this GitHub repo. Firebase CLI installed with a run of the terminal command npm install -g firebase-tools.NVM installed with the instructions here.A terminal setup on either a Windows, Linux, or Mac (OSX) computer.I will be building out the back-end with Firebase Cloud Functions and ExpressJS.īefore I begin, I recommend you have the following setup: In this post I will be building out an API with Google’s Firebase.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |