mirror of
https://github.com/thedrewen/protojx-manager.git
synced 2026-03-23 05:01:54 +01:00
feat(database): add TypeORM configuration and initialize data source
- Added TypeORM and PostgreSQL dependencies to package.json. - Created data-source.ts to configure the database connection. - Initialized the data source in index.ts and added logging for successful connection. - Updated devDependencies to include @types/node for better type support.
This commit is contained in:
19
.env.example
19
.env.example
@@ -1,5 +1,18 @@
|
||||
TOKEN=
|
||||
CLIENT_ID=
|
||||
# Discord Bot Configuration
|
||||
TOKEN=your_discord_bot_token_here
|
||||
CLIENT_ID=your_discord_client_id_here
|
||||
|
||||
# Custom Emojis
|
||||
EMOJI_STATUS_ONLINE=<a:online:1432684754276323431>
|
||||
EMOJI_STATUS_OFFLINE=<a:offline:1432684900175183882>
|
||||
EMOJI_STATUS_OFFLINE=<a:offline:1432684900175183882>
|
||||
|
||||
# Database Configuration
|
||||
DB_HOST=localhost
|
||||
DB_PORT=5432
|
||||
DB_USERNAME=postgres
|
||||
DB_PASSWORD=your_database_password_here
|
||||
DB_DATABASE=protojx_manager
|
||||
DB_LOGGING=false
|
||||
|
||||
# Environment
|
||||
NODE_ENV=development
|
||||
Reference in New Issue
Block a user