This is the code repository for Hands-On RESTful Web Services with TypeScript 3, published by Packt.
Design and develop scalable RESTful APIs for your applications
In the world of web development, leveraging data is the key to developing comprehensive applications, and RESTful APIs help you to achieve this systematically. This book will guide you in designing and developing web services with the power of TypeScript 3 and Node.js. You'll design REST APIs using best practices for request handling, validation, authentication, and authorization. You'll also understand how to enhance the capabilities of your APIs with ODMs, databases, models and views, as well as asynchronous callbacks. This book will guide you in securing your environment by testing your services and initiating test automation with different testing approaches. Furthermore, you'll get to grips with developing secure, testable, and more efficient code, and be able to scale and deploy TypeScript 3 and Node.js-powered RESTful APIs on cloud platforms such as the Google Cloud Platform. Finally, the book will help you explore microservices and give you an overview of what GraphQL can allow you to do.
This book covers the following exciting features: Explore various methods to plan your services in a scalable way Understand how to handle different request types and the response status code Get to grips with securing web services Delve into error handling and logging your web services for improved debugging Uncover the microservices architecture and GraphQL Create automated CI/CD pipelines for release and deployment strategies
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter13.
The code will look like the following:
type Query {
me: User
}
type User {
id: ID
name: String
}
Following is what you need for this book: If you’re a developer who has a basic understanding of REST concepts and want to learn how to design and develop RESTful APIs, this book is for you. Prior knowledge of TypeScript will help you make the most out of this book.
With the following software and hardware list you can run all code files present in the book (Chapter 1-13).
Chapter | Software required | OS required |
---|---|---|
3 | Swagger Editor, Swagger UI | N/A |
4 | NodeJS, NPM, ExpressJS, TypeScript, VS Code | Windows, Mac OS X, and Linux (Any) |
5 | Postman | Windows, Mac OS X, and Linux (Any) |
8 | MongoDB, Docker, Robo3T | Windows, Mac OS X, and Linux (Any) |
11 | Travis CI, Google Cloud Platform, Github, mLab | N/A |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
Biharck Muniz Araujo is passionate about technology and academic research. He has been working as a software architect and lead programmer for the past 12 years. With over 16years' experience, he has been working with technology in relation to large-scale problems associated with web projects that demanded high-security standards for information transmission in companies in a variety of sectors, including telecoms, health, and finance. His background is in computer science, and he has a Master's degree in Electrical Engineering and a Ph.D. in Bioinformatics. Currently, he is focused on performance and algorithm design.
Click here if you have any feedback or suggestions.
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.
https://packt.link/free-ebook/9781789956276