# Functions
Fungsi untuk register.
No description provided by the author
No description provided by the author
DELETE.
DeleteTokenFromMongoDB deletes a token from the database.
GetAdminByUsername retrieves an admin by their username.
ALL.
ALL.
GET ALL.
No description provided by the author
ID.
ID.
GetProductsByUserID mengambil produk berdasarkan user_id.
GET BY ID.
No description provided by the author
Fungsi untuk mendapatkan admin berdasarkan username.
No description provided by the author
INSERT PRODUCT.
No description provided by the author
INSERT PRODUCT.
INSERT STATUS.
Fungsi untuk mengecek apakah email sudah ada.
Login authenticates an admin and generates a JWT token.
No description provided by the author
Fungsi untuk memasukkan admin baru.
No description provided by the author
SaveTokenToDatabase stores or updates the token in the database.
UPDATE.
No description provided by the author
UPDATE.
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author