-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: set docker to production environment (#25)
* feat: set docker to production environment * fix: cleanup package.json scripts * docs: update README.md
- Loading branch information
1 parent
78b2808
commit 7480e9f
Showing
6 changed files
with
16 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
@baseUrl = http://localhost:3000/v1/consents | ||
@token = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1dWlkIjoiNjA2MjU4MjUtNGJjNS00YjUzLWJlNmYtNzNkMDkwZjNmMzRiIiwiaWF0IjoxNjM4MTk3MTkzLCJleHAiOjE2MzgxOTgwOTMsImlzcyI6InN1cHBvcnRAZ3Jhbml0ZS5jb20iLCJqdGkiOiI5ZTRmZWU0OC01MDMyLTRkNjktODI0Ni1kODRkY2E2MTdlN2IifQ.PSquNTiSPPpR0n84KgBlB04gU_kfkoyjAm5N1AakQ8I | ||
@token = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1dWlkIjoiNWMyNzY3ZjktN2QzYy00NmEzLWIwZTMtNmI1NzNhYWY5MDNjIiwiaWF0IjoxNjM4MjUxMDMxLCJleHAiOjE2MzgyNTE5MzEsImlzcyI6InN1cHBvcnRAZ3Jhbml0ZS5jb20iLCJqdGkiOiJjNDBjOGVkNC1lMDY1LTRlNGEtOGVmMi03Njg5Nzc3ODUxYjgifQ.Ci4uXe_-k0ez1Q0zqlPx3LdAR8Rza2_VEJxel2qECWw | ||
|
||
######################################################################## | ||
########### AUTH ########### | ||
|
@@ -27,7 +27,7 @@ Authorization: Bearer {{token}} | |
|
||
{ | ||
"id": "email_notifications", | ||
"enabled": false | ||
"enabled": true | ||
} | ||
|
||
######################################################################## | ||
|
@@ -61,6 +61,6 @@ Accept: application/json | |
Content-Type: application/json | ||
|
||
{ | ||
"email": "alex[email protected]", | ||
"email": "john[email protected]", | ||
"password": "secret" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
-- The database is created by the docker-compose.yaml | ||
SET search_path TO postgres; | ||
CREATE EXTENSION IF NOT EXISTS pgcrypto; | ||
CREATE EXTENSION IF NOT EXISTS "uuid-ossp"; | ||
|
||
-- Create the schemas | ||
CREATE SCHEMA IF NOT EXISTS consents; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters