see todo-deployment
Execute the following command to create the necessary environment variables:
./generate_env.sh
- Prepare environment
- Start
backend
(see README) - Start
frontend
(see README)
password | |
---|---|
admin@todo.com | admin |
john.doe@todo.com | johni |
- Frontend: http://localhost:5173
- Backend: http://localhost:3000/api/v1
- Adminer: http://localhost:8081
- Swagger-Documentation: http://localhost:3000/api-docs
- First prepare environment
- Start all container
# build frontend and backend docker compose -f docker-compose-prod.yml build # start all services docker compose -f docker-compose-prod.yml up -d # (only first time: seed database with initial data) docker compose exec -it backend /bin/sh /app/migrate.sh
password | |
---|---|
admin@todo.com | see .env -> ADMIN_PASSWORD |
john.doe@todo.com | see .env -> USER_PASSWORD |
After preparing your environment, see .env.
- Frontend: http://localhost
- Backend: http://localhost/api/v1
- Adminer: http://localhost:8081
- mono repository
- todo app
- feature based development
- express: 4.18
- swagger
- postgresql: 15.2
- redis
- jsonwebtoken
- prisma: 4.11
- some helper libraries (ms, tslog, datejs, class-validator, types for typescript, cookie-parser, axios)
- vue: 3.2
- pinia: 2.0 (vue 3 state management)
- tailwindcss with preline
- axios
- heroicons
- nginx (frontend server for production)
- docker
- traefik (reverse proxy)
- Hannes Ziereis
- Lucas Schießl
- Christoph Herb