Fullstack note web app using docker.
Built with typescript
, express
, react
, caddy
, mongodb
, docker
, docker-compose
$ mkdir mongo config
$ ./setup generate-jwt-secret
$ docker-compose up -d
- note-server: typescript, express, mongodb, dockerized
- note-client: typescript, react, dockerized
- note-proxy: caddy, dockerized
- db: mongodb, dockerized
nginx -> caddy:7000 -> /api server:7001 -> db:27017
-> / client:7002
$ ./setup.sh
Usage: ./setup.sh <subcommands> [args]
SUBCOMMANDS:
user:
./setup.sh user add <id> <password>
./setup.sh user update <id> <password>
./setup.sh user remove <id>
./setup.sh user list
debug:
./setup.sh debug hash <text>
etc:
./setup.sh generate-jwt-secret