-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial commit of new implementation
- Loading branch information
1 parent
53a4632
commit d7a0aa3
Showing
113 changed files
with
1,902 additions
and
2,322 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
services: | ||
postgres: | ||
image: postgres:13 | ||
ports: | ||
- 5432:5432 | ||
env: | ||
POSTGRES_USER: postgres | ||
POSTGRES_PASSWORD: postgres | ||
POSTGRES_DB: ppr_api_test | ||
options: >- | ||
--health-cmd "pg_isready -U postgres" | ||
--health-interval 10s | ||
--health-timeout 5s | ||
--health-retries 5 | ||
strategy: | ||
matrix: | ||
elixir: [1.13.4, 1.14.3] | ||
otp: [24.3, 25.1] | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Elixir | ||
uses: erlef/setup-beam@v1 | ||
with: | ||
elixir-version: ${{ matrix.elixir }} | ||
otp-version: ${{ matrix.otp }} | ||
|
||
- name: Install dependencies | ||
run: mix deps.get | ||
|
||
- name: Set up the database | ||
run: | | ||
mix ecto.create | ||
mix ecto.migrate | ||
env: | ||
MIX_ENV: test | ||
DATABASE_URL: ecto://postgres:postgres@localhost/ppr_api_test | ||
|
||
- name: Run tests | ||
run: mix test | ||
env: | ||
MIX_ENV: test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,133 +1,5 @@ | ||
/* This file is for your main application CSS */ | ||
|
||
// reset | ||
|
||
@viewport { | ||
zoom: 1; | ||
width: extend-to-zoom; | ||
} | ||
|
||
@-ms-viewport { | ||
width: extend-to-zoom; | ||
zoom: 1; | ||
} | ||
|
||
html, | ||
body, | ||
div, | ||
span, | ||
applet, | ||
object, | ||
iframe, | ||
h1, | ||
h2, | ||
h3, | ||
h4, | ||
h5, | ||
h6, | ||
p, | ||
blockquote, | ||
pre, | ||
a, | ||
abbr, | ||
acronym, | ||
address, | ||
big, | ||
cite, | ||
code, | ||
del, | ||
dfn, | ||
font, | ||
img, | ||
ins, | ||
kbd, | ||
q, | ||
s, | ||
samp, | ||
small, | ||
strike, | ||
sub, | ||
sup, | ||
tt, | ||
var, | ||
b, | ||
u, | ||
i, | ||
center, | ||
dl, | ||
dt, | ||
dd, | ||
ol, | ||
ul, | ||
li, | ||
fieldset, | ||
form, | ||
label, | ||
legend, | ||
table, | ||
caption, | ||
tbody, | ||
tfoot, | ||
thead, | ||
tr, | ||
th, | ||
td { | ||
margin: 0; | ||
padding: 0; | ||
font-size: 100%; | ||
vertical-align: baseline; | ||
border: 0; | ||
background: transparent; | ||
font-feature-settings: "kern", "liga", "pnum"; | ||
-webkit-backface-visibility: visible; | ||
-webkit-font-smoothing: antialiased; | ||
text-rendering: optimizeLegibility; | ||
webkit-text-size-adjust: 100%; | ||
-ms-text-size-adjust: 100%; | ||
text-size-adjust: 100%; | ||
} | ||
|
||
blockquote, | ||
q { | ||
quotes: none; | ||
} | ||
|
||
table { | ||
border-collapse: collapse; | ||
border-spacing: 0; | ||
} | ||
@import "tailwindcss/base"; | ||
@import "tailwindcss/components"; | ||
@import "tailwindcss/utilities"; | ||
|
||
ul, | ||
ol { | ||
list-style: none; | ||
} | ||
|
||
* { | ||
-moz-box-sizing: border-box; | ||
-webkit-box-sizing: border-box; | ||
-ms-box-sizing: border-box; | ||
box-sizing: border-box; | ||
} | ||
|
||
// styles | ||
|
||
html { | ||
font-size: 10px; | ||
--accent: #ff4400; | ||
--background: #fafafa; | ||
--ink: #000; | ||
--offset: #eee; | ||
} | ||
|
||
body { | ||
background-color: var(--background); | ||
color: var(--ink); | ||
font-size: 1.1rem; | ||
line-height: 2rem; | ||
font-family: "Inter", serif; | ||
} | ||
|
||
::selection { | ||
color: var(--accent); | ||
background: var(--offset); | ||
} | ||
/* This file is for your main application CSS */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.