README.md 660 Bytes
Newer Older
s8_smits_v's avatar
s8_smits_v committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Development stack

- Node (express, mongoose)
- React
- MongoDB

# Route mappings

By default, nginx is exposed to localhost:8080

- /api Redirects to the node server (prefixed with /api)
- Everything else is redirected to the react development server

# Usage

To bring containers up:

```sh
docker-compose up 
```

To bring containers down:

```sh
docker-compose down
```

To get a mongodb shell, find the corresponding mongo container name, i.e. run 
```sh
docker-compose images
```

and attach to the corresponding mongo image

```sh
docker exec -it <running_mongo_container_name> mongo
```

# Todo

- Add route for static files
- Typescript branch/repo