create an .env file in the project's root folder and place the following environment variables
tells which port the server will run on.
indicates the name of the database.
indicates the type of the database.
indicates the database authentication username
indicates the database authentication password
create an ormconfig.json file at the root of the project and place the following settings
{
"type": "<type_database>",
"host": "<host_database>",
"port": 5432,
"username": "<username_from_access_database>",
"password": "<password_from_access_database>",
"database": "<name_database>",
"entities": [
"src/entity/*.ts"
],
"migrations": [
"src/migration/*.ts"
],
"cli": {
"entitiesDir": "src/entity",
"migrationsDir": "src/migration"
}
}