-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.example
14 lines (14 loc) · 930 Bytes
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
DATABASE_URL="sqlite://db.sqlite3"
SECRET_KEY="" # Your jwt secret key, you can generate one using https://www.grc.com/passwords.htm
# or run this command in your terminal: `head /dev/urandom | shasum -a 256`
HOST="localhost" # Your host
PORT=8080 # Your port
RATE_LIMIT_BURST_SIZE=30 # Optional, default is 30
RATE_LIMIT_PER_SECOND=60 # Optional, default is 60
API_CONTACT_NAME="" # The name of the API support contact
API_CONTACT_URL="" # The URL of the API support contact, e.g. https://example.com/support or the repo page (:
API_CONTACT_EMAIL="" # The email of the API support contact
API_TITLE="" # The title of the API, Optional default is "RESTful Todo API documentation"
MAXIMUM_TODO_TITLE_LENGTH=100 # Optional, default is 100
MAXIMUM_TODO_PER_USER=500 # Optional, default is 500
API_NAME = "RESTful Todo API" # Optional, default is "RESTful Todo API" (A name for the API, the clints will display this name)