I am developing an application to learn AWS. I am using react and nodejs as a backend. I created AWS RDS Postgresql database and able to connect to it using pgadmin, and nodejs on a local host( I assume it is connected bc pgAdmin shows 2 connections when localhost port is running). Using pgAdmin I am able to create tables and put data into the tables using SQL queries.
However, I am NOT able to make Post or Get requests from the database using react and/or nodejs with proxy and without proxy. It seems that it does not allow it to bc of security issues? I also set the security group to public and All Access.
Is it possible to make a Post request and a Get request to the database from localhost with proxy or without? So far it either gives me 404 Not Found or ERR_Connection Refused.
If not, then how one develops an application using AWS RDS on one's own computer?