-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
45 lines (40 loc) · 943 Bytes
/
.env
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
33
34
35
36
37
38
39
40
41
42
43
44
45
# Postgres Live
# DB_HOST=127.0.0.1
# DB_DRIVER=postgres
# API_SECRET=98hbun98h #Used for creating a JWT. Can be anything
# DB_USER=root
# DB_PASSWORD=
# DB_NAME=todo_go_rest_api
# DB_PORT=5432
# Postgres Test
# TestDbHost=127.0.0.1
# TestDbDriver=postgres
# TestApiSecret=98hbun98h
# TestDbUser=root
# TestDbPassword=
# TestDbName=todo_go_rest_api_test
# TestDbPort=5432
# Mysql Live
DB_HOST=127.0.0.1
DB_DRIVER=mysql
API_SECRET=98hbun98h
DB_USER=root
DB_PASSWORD=
DB_NAME=todo_go_rest_api
DB_PORT=3306 #Default mysql port
# # Mysql Test
# TestDbHost=127.0.0.1
# TestDbDriver=mysql
# TestApiSecret=98hbun98h
# TestDbUser=root
# TestDbPassword=here
# TestDbName=todo_go_rest_api_test
# TestDbPort=3306
# sqlite live
#DB_DRIVER=sqlite3
#API_SECRET=98hbun98h #Used for creating a JWT. Can be anything
#DB_NAME=todo_go_rest_api.sqlite
# sqlite test
#TestDbDriver=sqlite3
#TestApiSecret=98hbun98h
#TestDbName=todo_go_rest_api_test.sqlite