This is a simple node application that shows on the main page server on which it is running and report errors to Bugsink.
docker run -p 3000:3000 -e SERVER_MESSAGE="Hexlet Awesome Server" -e SENTRY_DSN="<your dsn>" hexletcomponents/devops-example-app
# open http://0.0.0.0:3000 in browser- Docker
- Make
- Node.js >= 20 (для локальной разработки без Docker)
make setupYou may pass environment variable SERVER_MESSAGE, and its value shows on the main page.
Edit .env file to set up environment variables.
SERVER_MESSAGE="Hexlet Awesome Server"
SENTRY_DSN=<your bugsink dsn>Bugsink runs as a local service via Docker Compose. To get the DSN:
- Start the services:
make compose - Open http://localhost:8000 and log in (
admin@example.com/admin) - Create a new project
- Copy the DSN from the project settings — it looks like:
http://<key>@bugsink:8000/<project_id> - Add it to your
.envfile:SENTRY_DSN=http://<key>@bugsink:8000/<project_id>
- Restart the app:
docker compose restart app
make test # запустить тесты
make lint # проверить код (Biome)
make lint-fix # автоисправление (Biome)
make update-deps # обновить зависимости (ncu -u)make start
# open http://0.0.0.0:3000 in browserThis repository is created and maintained by the team and the community of Hexlet, an educational project. Read more about Hexlet.
See most active contributors on hexlet-friends.

