Connecting to a database from Postman is not easy. In this tutorial, I will explore three possible solutions and discuss the pros and cons.
Simple Node.js script that connects to a Postgres database and exposes a simple REST endpoint:
glitch.com/edit/#!/node-js-api-pg-db
Open-source tools that can help you connect to a database:
Postgres - node-postgres.com/
PostgreSQL, MySQL, CockroachDB, MSSQL, SQLite3, Oracle with Knex - github.com/knex/knex
MySQL
github.com/o1lab/xmysql
---
If this was helpful and you want to support me create more videos like this one, please consider subscribing.
👉 kzitem.info/rock/UUl_HXJjU--iYjUkIgEcTw
--
⭐️ Video contents ⭐️
00:00 - Introduction
01:01 - How to do an SQL query from Postman
02:03 - Solution #1 - Don't do it!
02:45 - Solution #2 - Write a small Node.js script
03:22 - Solution #3 - Hasura
--
⭐️ 🎓 The complete guide to Postman (online course) ⭐️
Want to learn more about Postman? Check my Postman online course.
Get it at a special price and help support this KZitem channel:
vdespa.com/courses/
--
⭐️ 💬 I have a question. ⭐️
I do my best to answer all comments here on KZitem but I cannot make any guarantees.
If you have a question, it is best to ask your question on Discord, on the Postman User Group on Facebook, or on the Postman Community (links below).
If you are asking a question, make sure to include as many details as possible, including screenshots.
If you have purchased the Postman online course, please use the Q&A section or send me a message directly.
Please do not email me or contact me on other channels as I might not be able to answer. Sorry!
--
⭐️ 💡 I have a video idea ⭐️
Do you want me to create a video on a specific topic? Just fill out the form below:
forms.gle/uWEzXFQ2viJtZtvZ7
--
⭐️ 📺 Learn Postman on KZitem ⭐️
Collection of video tutorials:
▸ Learn Postman | bit.ly/2CFaf70
▸ Postman Crash Course | bit.ly/2YwEBBT
▸ Postman Tips & Tricks | bit.ly/2JLkXyU
___
⭐️ 📕 Free resources ⭐️
📌 DOWNLOAD the FREE Postman Quick Reference Guide
bit.ly/postman-quick-reference-yt
📌 Ask a question on Discord (unofficial)
discord.gg/tUrwTkSnqS
📌 Join the Postman User Group on Facebook (unofficial)
bit.ly/2OutAMZ
📌 Postman community forum (official)
community.getpostman.com/
--
⭐️ 📩 Contact & Imprint ⭐️
👉 Let's be friends
sendfox.com/lp/1dv56d
👉 Follow me on Twitter:
twitter.com/vdespa
👉 Follow me on Medium:
vdespa.medium.com/
👉 Follow me on Facebook:
facebook.com/Valentin-Despa-113038143438826
👉 Let's connect on LinkedIn:
www.linkedin.com/in/vdespa/
vdespa.com/imprint
Негізгі бет How to connect to a Database from Postman for SQL query
Пікірлер: 34