Skip to content

Commit 89e0563

Browse files
committed
update README
1 parent 7981f90 commit 89e0563

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

README.md

+30
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
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+
125
### Create Migration File
226

327
```bash
428
migrate create -ext sql --dir db/migrations -seq NAME
529
```
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

0 commit comments

Comments
 (0)