Skip to content

Commit c48ee86

Browse files
Jaime Salas ZancadaJaime Salas Zancada
authored andcommitted
added todo app in memory
1 parent 1d7e5fa commit c48ee86

49 files changed

Lines changed: 84 additions & 818 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

02-orquestacion/exercises/00-monolith/todo-app/.dockerignore renamed to 02-orquestacion/exercises/00-monolith-in-mem/todo-app/.dockerignore

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,9 @@ dist/
55
# local build
66
wwwroot/
77

8-
98
# local development
109
nodemon.json
11-
jest.config.js
12-
jest.e2e.config.js
13-
14-
# database development
15-
data/
16-
migrations/
17-
create_todos_db.sql
18-
knexfile.js
10+
1911

2012
# environment variables
2113
.env
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
NODE_ENV=
2+
PORT=
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
NODE_ENV=test
2+
PORT=3001

02-orquestacion/exercises/00-monolith/todo-app/.prettierrc renamed to 02-orquestacion/exercises/00-monolith-in-mem/todo-app/.prettierrc

File renamed without changes.

02-orquestacion/exercises/00-monolith/todo-app/Dockerfile renamed to 02-orquestacion/exercises/00-monolith-in-mem/todo-app/Dockerfile

File renamed without changes.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Todo App React
2+
3+
## Environment Variables
4+
5+
```ini
6+
NODE_ENV=
7+
PORT=
8+
```
9+
10+
## Running the Application with Docker on Local
11+
12+
```bash
13+
$ docker build -t jaimesalas/lc-todo-monolith .
14+
```
15+
16+
Start app without database
17+
18+
```bash
19+
$ docker run -d -p 3000:3000 \
20+
-e NODE_ENV=production \
21+
-e PORT=3000 \
22+
jaimesalas/lc-todo-monolith
23+
```

02-orquestacion/exercises/00-monolith/todo-app/frontend/.babelrc renamed to 02-orquestacion/exercises/00-monolith-in-mem/todo-app/frontend/.babelrc

File renamed without changes.

02-orquestacion/exercises/00-monolith/todo-app/frontend/config/webpack.common.js renamed to 02-orquestacion/exercises/00-monolith-in-mem/todo-app/frontend/config/webpack.common.js

File renamed without changes.

02-orquestacion/exercises/00-monolith/todo-app/frontend/config/webpack.dev.js renamed to 02-orquestacion/exercises/00-monolith-in-mem/todo-app/frontend/config/webpack.dev.js

File renamed without changes.

02-orquestacion/exercises/00-monolith/todo-app/frontend/config/webpack.prod.js renamed to 02-orquestacion/exercises/00-monolith-in-mem/todo-app/frontend/config/webpack.prod.js

File renamed without changes.

0 commit comments

Comments
 (0)