R
R
RxApi
Search…
R
R
RxApi
Introduction
Basic configuration
HTTP
Router
Routes/Controller
WEBSOCKETS
Events
DATABASE/ORM (KNEX)
Basic configuration
Migrations and cli
Powered By
GitBook
Basic configuration
module
.
exports
=
{
development
:
{
client
:
'sqlite3'
,
connection
:
{
filename
:
'./dev.sqlite3'
}
},
staging
:
{
client
:
'postgresql'
,
connection
:
{
database
:
'my_db'
,
user
:
'username'
,
password
:
'password'
},
pool
:
{
min
:
2
,
max
:
10
},
migrations
:
{
tableName
:
'knex_migrations'
}
},
production
:
{
client
:
'postgresql'
,
connection
:
{
database
:
'my_db'
,
user
:
'username'
,
password
:
'password'
},
pool
:
{
min
:
2
,
max
:
10
},
migrations
:
{
tableName
:
'knex_migrations'
}
}
};
WEBSOCKETS - Previous
Events
Next - DATABASE/ORM (KNEX)
Migrations and cli
Last modified
2yr ago
Copy link