File tree 1 file changed +30
-0
lines changed
1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ ## (WIP) Sandbox REST API with Golang
2
+
3
+ - Session authentication with postgres using cookie (not JWT)
4
+
5
+
6
+ ## Notes
7
+
8
+ ### Requirements
9
+
10
+ ``` bash
11
+ brew install golang-migrate
12
+ go install github.com/cespare/reflex@latest
13
+ go install github.com/volatiletech/sqlboiler/v4@latest
14
+ go install github.com/volatiletech/sqlboiler/v4/drivers/sqlboiler-psql@latest
15
+ ```
16
+
17
+ ### How to Run
18
+
19
+ ``` bash
20
+ make postgres
21
+ make resetdb
22
+ make devw
23
+ ```
24
+
1
25
### Create Migration File
2
26
3
27
``` bash
4
28
migrate create -ext sql --dir db/migrations -seq NAME
5
29
```
30
+
31
+ ## References
32
+
33
+ - https://github.com/techschool/simplebank
34
+ - https://github.com/ardanlabs/service
35
+ - https://github.com/DeNA/codelabs/tree/master/sources/testable-architecture-with-go
You can’t perform that action at this time.
0 commit comments