How to create a Fake REST API using JSON-Server | Updated 2024

Published: 01 January 1970
on channel: SDET Adda For QA Automation
271
9

#In this video, we're diving into JSON Server which is a powerful tool for creating a fake REST API with zero coding. Whether you're a developer looking to prototype quickly or a QA engineer in need of a mock back-end, I'll guide you through setting it up, configuring endpoints, and testing Fake API's using Rest-Assured.

Install JSON Server: npm install json-server
Create db.json and pass it to JSON server : npx json-server db.json
Validate: http://localhost:3000/posts/1

#How to #create #fake #REST #API
#Testing
#Mocking
#json-server
#Run #GET, #POST, #PUT, #PATCH, #DELETE requests.
#json-server tutorial,
#how to create fake rest api,
#how to mock rest #web services

Playlists in this channel's are:
******************************************************************************************************

Rest Assured API Automation Framework Developmt Zero to Hero | 2024:    • Rest Assured API Automation Framework...  

Selenium Cucumber BDD Framework development with Java and TestNG | Latest Features (2023-2024) Series

   • Selenium Cucumber BDD Framework devel...  

Playwright with Java script [2024 latest] - End to end - By SDET Adda for QA Automation:
   • Playwright with Java script [2024 lat...  

TestNG + Selenium 4 Tutorial -2024 Updated 🔥🔥🔥
   • TestNG + Selenium 4 Tutorial -2024 Up...  

Linux and Bash Scripting Tutorial [2024 Updated]

   • Linux and Bash Scripting Tutorial [20...  

VirtualBox and Virtual Machine setup for Selenium Automation:    • VirtualBox and Virtual Machine setup ...  

Selenium Grid Tutorial For Beginners [2024 latest] - End to end - By SDET Adda for QA Automation:    • Selenium Grid Tutorial For Beginners ...  

Git & GitHub Tutorial for Beginners [2024 Updated]:    • Git & GitHub Tutorial for Beginners [...  

Apache Maven Tutorial for Beginners | SDET ADDA:    • Apache Maven Tutorial for Beginners |...  

Jenkins 2024 Tutorial For Beginners | DevOps CI/CD | SDET ADDA:    • Jenkins 2024 Tutorial For Beginners |...  

Karate Framework Tutorial:
   • Karate Framework Tutorial  

Top 100 Java Programs for Programming/coding and QA interviews
   • Top 100 Java programs for programming...  


Facebook group: https://www.facebook.com/share/F7Dewp...
Telegram channels:
https://t.me/sdetadda
https://t.me/+71BQkERkJJJiM2Q1