bapig
Version:
Welcome to BAPIG, a powerful backend solution designed to streamline your development process. With over 40 built-in functionalities, BAPIG simplifies CRUD operations, facilitates authentication and encryption, handles communication tasks, and much more.
15 lines (14 loc) • 497 B
TypeScript
/// <reference types="node" />
/// <reference types="node" />
import http from 'http';
import https from 'https';
import mongoose from 'mongoose';
import { Server as SocketIoServer } from 'socket.io';
declare let io: SocketIoServer;
declare let server: http.Server | https.Server;
/**
* Start the HTTP or HTTPS server.
* @param application - The Express application instance.
*/
declare const startServer: (application: any) => void;
export { startServer, mongoose, io, server };