Skip to content

Commit 8fb59ec

Browse files
committed
feat: improve images api, docs and minor changes
- By default images link now includes extension, for example, `/api/images/1.jpeg` - Add `meetup.image` field with direct image link - Always return meetup with agenda - `meetup.date` is UNIX timestamp now. Formatted value available in `meetup.dateIso` - Data Seed now always has current dates - Many API docs improvements
1 parent 966646a commit 8fb59ec

36 files changed

+16570
-11003
lines changed

Diff for: .env

+2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
PORT=3000
22
HOST=127.0.0.1
33
SECRET=secret_key
4+
PUBLIC_URL=http://localhost:3000
45

56
# Admin key is used to protect some maintenance features; remove or set empty to disable
67
# ADMIN_KEY=admin_key
78

89
# Database refresh interval in CRON pattern; remove or set empty to disable
910
# DB_REFRESH_CRON=* 15 * * * *
11+

Diff for: .prettierrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"singleQuote": true,
33
"trailingComma": "all",
44
"arrowParens": "always",
5-
"endOfLine": "lf"
5+
"endOfLine": "lf",
6+
"tabWidth": 2
67
}

Diff for: README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
##### Подготовка
66
```shell script
77
# Установка зависимостей
8-
npm install
8+
npm ci
99

1010
# Сборка
1111
npm run build
@@ -15,12 +15,13 @@ npm run build
1515

1616
```shell script
1717
npm start
18-
# или node dist/main.js
1918
```
2019

2120
##### Разработка
2221

2322
```shell script
23+
npm run start:dev
24+
# or for attach debugger
2425
npm run start:debug
2526
```
2627

@@ -32,13 +33,13 @@ npm run start:debug
3233
PORT=3000
3334
HOST=127.0.0.1
3435
SECRET=secret_key
36+
PUBLIC_URL=http://localhost:3000
3537
3638
# Admin key is used to protect some maintenance features; remove or set empty to disable
3739
# ADMIN_KEY=admin_key
3840
3941
# Database refresh interval in CRON pattern; remove or set empty to disable DB refresh
4042
# DB_REFRESH_CRON=* 15 * * * *
41-
4243
```
4344

4445
## База Данных

Diff for: data/images/msk-vuejs-meetup.jpeg

-41.9 KB
Binary file not shown.

Diff for: data/images/vue-conf-us.png

-144 KB
Binary file not shown.

Diff for: data/images/vuejs-moscow-meetup.jpeg

-625 KB
Binary file not shown.

0 commit comments

Comments
 (0)