-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add docker compose powered development environment (#71)
* docker-compose up client working * update devenv with docker-compose * ui working w/ server and docker * fix role issues * hide scrollbars * prettier ignore * remove console.log
- Loading branch information
Showing
27 changed files
with
8,548 additions
and
1,908 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 @@ | ||
docker-entrypoint-initdb.d/mongo-init.js |
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 @@ | ||
node_modules |
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,10 @@ | ||
FROM node:16 | ||
|
||
COPY package.json ./ | ||
|
||
RUN npm install | ||
|
||
COPY . . | ||
|
||
EXPOSE 3000 | ||
CMD ["npm", "start"] |
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
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
.NewRequest { | ||
flex: 1; | ||
} | ||
|
||
.NewRequest script { | ||
color: black; | ||
padding: 1em; | ||
margin: 0; | ||
white-space: pre; | ||
margin-bottom: 1em; | ||
} | ||
.NewRequest .react-tabs__tab-list, | ||
.NewRequest .react-tabs__tab--selected { | ||
border-color: #222; | ||
} | ||
.NewRequest .react-tabs__tab-list { | ||
margin-bottom: 0; | ||
} | ||
.NewRequest .react-tabs__tab-panel--selected { | ||
border: 1px solid #222; | ||
padding: 1em; | ||
border-top: none; | ||
} | ||
.NewRequest script, | ||
.NewRequest pre { | ||
padding: 0.25em; | ||
border: 1px solid #222; | ||
border-radius: 3px; | ||
font-size: 1.2rem; | ||
background: #222; | ||
color: #fff; | ||
} | ||
|
||
.NewRequest h3 { | ||
margin-top: 0; | ||
} | ||
|
||
.NewRequest pre.wrap { | ||
white-space: pre-wrap; | ||
word-break: break-all; | ||
} |
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 was deleted.
Oops, something went wrong.
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,63 @@ | ||
.Request { | ||
flex: 4 !important; | ||
padding: 1em; | ||
position: relative; | ||
} | ||
.Request h2, | ||
.Request h2 > pre { | ||
margin: 0; | ||
} | ||
.Request .headers, | ||
.Request .payload, | ||
.Request pre { | ||
white-space: normal; | ||
} | ||
.Request .react-json-view { | ||
background: white !important; | ||
font-family: Inconsolata, monospace !important; | ||
padding: 1em; | ||
word-break: break-all; | ||
} | ||
.Request .response { | ||
border: 1px solid #ebebeb; | ||
display: inline-block; | ||
margin-left: 1rem; | ||
padding: 0.25rem; | ||
} | ||
.Request .controls { | ||
align-items: center; | ||
justify-content: center; | ||
z-index: 2; | ||
margin-top: 2em; | ||
flex-wrap: wrap; | ||
} | ||
.Request .controls button, | ||
.Request .controls input { | ||
padding: 0.25em 0.5em; | ||
font: inherit; | ||
border-radius: 3px; | ||
} | ||
.Request .controls button { | ||
cursor: pointer; | ||
} | ||
.Request .controls input { | ||
margin-top: 5px; | ||
display: block; | ||
border: 1px solid #bbb; | ||
width: 100%; | ||
} | ||
.Request .controls .delete { | ||
color: #db2828; | ||
display: inline-block; | ||
border-radius: 3px; | ||
border: 1px solid #db2828; | ||
} | ||
.Request .controls .delete:hover, | ||
.Request .controls .delete:active { | ||
background: #db2828; | ||
color: #fff; | ||
} | ||
.Request .controls .delete:focus { | ||
outline: none; | ||
box-shadow: 0 0 3px #db2828; | ||
} |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.