feat(interactions): added sql queries and http requests as files to interact with server
continuous-integration/drone/push Build is passing Details

main
flavien 2022-11-20 13:24:04 +01:00
parent 9679435a40
commit dc4eee0a15
3 changed files with 21 additions and 0 deletions

15
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,15 @@
{
"sqltools.connections": [
{
"previewLimit": 50,
"server": "localhost",
"port": 5432,
"driver": "PostgreSQL",
"database": "newsletter",
"username": "postgres",
"password": "password",
"name": "newsletter",
"connectString": "postgres://postgres:password@localhost:5432/newsletter"
}
]
}

5
http/subscriptions.http Normal file
View File

@ -0,0 +1,5 @@
POST http://localhost:8000/subscriptions HTTP/1.1
Content-Type: application/x-www-form-urlencoded
name=test
&email=test@test.com

1
sql/subscriptions.sql Normal file
View File

@ -0,0 +1 @@
SELECT * FROM subscriptions