-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.sample
More file actions
32 lines (28 loc) · 1.72 KB
/
.env.sample
File metadata and controls
32 lines (28 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Server Configuration
PORT=1919
HOSTNAME=localhost
# API Configuration
VERSION=1.9.4
TIMEZONE=America/New_York
HEADER_AGENT=Mozilla/5.0 (X11; Linux x86_64; rv:142.0) Gecko/20100101 Firefox/142.0
# Database (optional - API will work without it but some features will be disabled)
MONGODB_URI=mongodb://localhost:27017/api
# Authentication (required for auth features)
JWT_SECRET=your-secret-key-here
# External APIs (optional)
GITHUB_API_KEY=your-github-token
GITHUB_USERNAME=casjay
REDDIT_CLIENT_ID=your-reddit-client-id
REDDIT_CLIENT_SECRET=your-reddit-client-secret
REDDIT_USER_AGENT=YourApp/1.0.0 by YourRedditUsername
MY_REDDIT_USER=casjay
PROFILE_URL=https://raw.githubusercontent.com/casjay/public/main/profile.json
BLOG_URL=https://api.github.com/repos/malaks-us/jason/contents/_posts
DOMAINS_URL=https://raw.githubusercontent.com/casjay/public/main/domains.json
GIT_MESSAGE_URL=https://raw.githubusercontent.com/apimgr/gitmessages/main/src/data/messages.json
ARCGIS_URL=https://services1.arcgis.com/0MSEUqKaxRlEPj5g/arcgis/rest/services/ncov_cases/FeatureServer/1/query?f=json&where=Confirmed%20%3E%200&returnGeometry=false&spatialRel=esriSpatialRelIntersects&outFields=*&orderByFields=Confirmed%20desc%2CCountry_Region%20asc%2CProvince_State%20asc&resultOffset=0&resultRecordCount=1000&cacheHint=false%27
TIMEZONE_URL=https://raw.githubusercontent.com/apimgr/timezones/main/src/data/timezones.json
COUNTRIES_URL=https://raw.githubusercontent.com/apimgr/countries/main/countries.json
ALBANY_CLOSINGS_URL=https://wnyt.com/wp-content/uploads/dynamic-assets/schoolalert.html
UTICA_CLOSINGS_URL=https://amb-feeds.s3.amazonaws.com/WKTV_closings.json
TRAFFIC_URL=https://511ny.org/list/events/traffic?start=0&length=100&order%5Bi%5D=1&order%5Bdir%5D=asc