mirror of
https://github.com/yanislav-igonin/micrach
synced 2024-12-22 14:22:33 +03:00
c8c9850625
* add fiber * disable gin, enable fiber * gradually enabling app setup * change env * add routes * add static * connect template engine * add simple load test * make it executable * add rate limiter * doc * connect get threads controller * clean * add compression middleware * add etag middleware * lint * add recover middleware * check isFromLocal method * connect get thread by id controller * connect create thread controller * connect captcha controller * connect update thread controller * rename file * playing with css * connect gateway controller
13 lines
347 B
Plaintext
13 lines
347 B
Plaintext
ENV=development
|
|
PORT=3000
|
|
IS_DB_SEEDED=true
|
|
IS_RATE_LIMITER_ENABLED=true
|
|
THREADS_MAX_COUNT=50
|
|
POSTGRES_URL=postgres://localhost/micrach?pool_max_conns=5
|
|
THREAD_BUMP_LIMIT=500
|
|
IS_CAPTCHA_ACTIVE=true
|
|
GATEWAY_URL=http://localhost:3001
|
|
GATEWAY_API_KEY=example
|
|
GATEWAY_BOARD_ID=b
|
|
GATEWAY_BOARD_URL=http://localhost:3000
|
|
GATEWAY_BOARD_DESCRIPTION=Random |