-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.example
28 lines (22 loc) · 856 Bytes
/
.env.example
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
# Database Credentials: *fill with your proper database information
DB_HOST=
DB_NAME=
DB_USER=
DB_PASS=
# Data Source Name: *do not modify! $_ENV['DSN'] is used as first argument for your PDO connection
DSN=mysql:host=${DB_HOST};dbname=${DB_NAME}
# Errors and responses status for error handling for the API:
ERRORS=ON
RESPONSES=ON
# Database User Table:
USER_TABLE=user
# Database User Columns (add any needed variable for every column added in user table):
USER_ID=user_id
USER_EMAIL=email
USER_PASSWORD=password
# Database Audience Table: *The recipient table for account for 'aud' in JWT token payload
AUDIENCE_TABLE=
# Database Other Tables: *Other tables you may need, as argument for your CRUD operations in controller methods
EXAMPLE_TABLE=
# API Token Authentication Secret Keys: *fill with your own key or add new keys as needed
SECRET_KEY=