You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: APPROACH.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,6 @@ This file contains some comments about the decisions which were made.
66
66
1.[purescript-simple-jwt](https://github.com/oreshinya/purescript-simple-jwt) is used for token encoding/decoding. Only a secret key and the userId are used. There is no token expiration date. This could be improved.
67
67
1. Tests:
68
68
1. Setting `origin` in the tests was not possible (Error message: `Refused to set unsafe header "origin"`). I had to mock the function.
69
-
1. The test case request and response bodies can be found under `test/Server/<domain>/<file>`. This way they can be used via *HTTPie* and with automated testing.
69
+
1. The test case request and response bodies can be found under `test/Server/<domain>/<file>`. This way, they can be used via *HTTPie* and with automated testing.
70
70
1. Frontend:
71
71
1.[purescript-halogen-realword](https://github.com/thomashoneyman/purescript-halogen-realworld) did not work for update user and post comments. See <https://github.com/thomashoneyman/purescript-halogen-realworld/issues/78>.
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,13 +25,13 @@ This is a learning project in order to set up a REST API with [PureScript Payloa
25
25
26
26
1. Database Setup:
27
27
1. Install PostgreSQL.
28
-
1. Set up a database called `conduit`. An example script can be found under [sql/CreateDB.sql](./sql/CreateDB.sql). Change [config/Server/Dev.json](./config/Server/Dev.json) accordingly.
28
+
1. Set up a database called `conduit` with [sql/CreateDB.sql](./sql/CreateDB.sql). Change [config/Server/Dev.json](./config/Server/Dev.json) accordingly, if you make alterations.
29
29
1. Install the database function`timestamp_to_char` under [sql/Functions.sql](./sql/Functions.sql), either the production or mock version in order to run the tests.
0 commit comments