Block a user
cb7a4bf5c5
fix: change API design to be more RESTful
c1173b4bcc
feat: add test case for usecase user.create
b7697bc89b
feat: hash the user password
ba8570857d
feat: add validate for user signup
6f9ff9ab96
fix: make user signup work for the minimum
7b8abf8e5c
feat: Create user usecase
4546665461
feat(sql): Add unique constraint to admin's email
2c1beb30f6
fix(db): use a normal pgx.Conn first
43a1d0509c
feat(mkfile): build sqlc
4cdfe753c8
doc: add diary
332871d403
feat: route up to the controller level
c00cbf35f1
feat: Integrate db infra
1d753783ce
fix: addlicense ignore sqlc dir
a6abdf504d
fix: change sqlc output directory
9094d12c3a
fix: abandon google addlicense use marmotedu addlicense
dc75af4dc7
feat: add admin table
1295d15eb3
fix: addlicense bug!!!
4794137d42
feat:add context interface, and change core.writeresponse function to use it
321b4704a2
docker: take the db_data out of the repo
8e14ccd12a
feat: add the core project design
dd49035c8e
feat: add errno
51474ce04d
feat: gracefully shutdown impl
ffaec01809
feat: add cors middleware
7886788c35
feat(requestid): put the request id to the response
ad1d4de7c3
feat(requestid): validate uuid
e6389f0fd2
feat(requestid): handle the case for new uuid
d870d2a58d
feat(requestid): test for the case where no requestId is given
2a52fb6b88
feat(requestid): reqID in the header