Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a Node JS app interacting with Postgres #6

Open
jeffibm opened this issue Apr 11, 2024 · 0 comments
Open

Create a Node JS app interacting with Postgres #6

jeffibm opened this issue Apr 11, 2024 · 0 comments

Comments

@jeffibm
Copy link
Member

jeffibm commented Apr 11, 2024

Code can be found in here - https://github.com/JBN-Infotech/eshop/tree/main/node-postgres

To start run - node app.js

http://localhost:3000/users

[
  {
    "id": "1",
    "username": "user1",
    "password": "123456",
    "email": "[email protected]",
    "created_at": "2024-03-21T03:08:20.019Z",
    "updated_at": "2024-03-21T03:08:20.019Z"
  },
  {
    "id": "2",
    "username": "user2",
    "password": "123456",
    "email": "[email protected]",
    "created_at": "2024-03-21T03:09:25.719Z",
    "updated_at": "2024-03-21T03:09:25.719Z"
  },
  {
    "id": "3",
    "username": "user3",
    "password": "123456",
    "email": "[email protected]",
    "created_at": "2024-03-21T03:09:44.961Z",
    "updated_at": "2024-03-21T03:09:44.961Z"
  }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant