Skip to content

Commit

Permalink
feat(account): authentication requests (#4)
Browse files Browse the repository at this point in the history
* feat(account): authentication requests
* fix(swagger): response body & error code
  • Loading branch information
Ealenn authored Jun 5, 2022
1 parent 2b03f8d commit d03dc27
Show file tree
Hide file tree
Showing 43 changed files with 2,787 additions and 137 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ indent_size = 2

# Makefile
[Makefile]
indent_style = tab
indent_style = tab
4 changes: 4 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
APP_PORT=8080
APP_VERSION=0.0.0
APP_SECRET=Nt4xmcMCdvbLrWJzy3Tvo6ScChBBNUywofKXguyHhKRsCnsyhjBseZvr8bQsTRrHB2YCGCCH7oDB7kAJyYaT8dfsw9yBk3JkuPfEgkFHePo3MpnLEo5KDwNZRjGxThDB
MONGODB_URI=mongodb://root:toor@localhost:27017
3 changes: 3 additions & 0 deletions .github/workflows/heroku-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
tags:
- '*'
workflow_dispatch:

jobs:
build:
Expand All @@ -20,3 +21,5 @@ jobs:
env:
APP_PORT: 80
APP_VERSION: ${GITHUB_REF##*/}
APP_SECRET: ${{secrets.APP_SECRET}}
MONGODB_URI: ${{secrets.MONGODB_URI}}
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"singleQuote": true,
"trailingComma": "all"
}
}
10 changes: 10 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: '3'
services:
mongodb:
image: mongo:5.0.8
ports:
- 27017:27017
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: toor
Loading

0 comments on commit d03dc27

Please sign in to comment.