blastoff-panel
Watch as your app blasts off!
Example:
Rocket Ship starting up...
✅ Database ready!
⠏ Fuel management starting...
◯ HTTP Server
◯ WebSocket Server
Usage
Setup your panel.
; const withStatus = ;
Wrap your startup tasks by specifying a service name and startup function which returns a promise.
const setupDatabase = ;const setupFuelManagment = ; const startHTTPServer = ;const startSocketServer = ;
And blast off!
Promiseall ;
Output:
🚀 Rocket Ship Ready for Liftoff.
✅ Database ready!
✅ Fuel management ready!
✅ HTTP Server ready!
✅ WebSocket Server ready!
Credits
A pretty cool thing brought to you by Ben Aubin.
License
MIT