Skip to content

ealib/md-api-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Say hello to MDaemon

Description

This is a really basic example to use node-mdaemon-api.

It checks if MDaemon is present and whether the APIs are compatible. If so, it shows a simple menu like the following:

1. MDaemon Version
2. MDaemon Modules
3. Module Version
4. Domains
5. Users
6. User Groups
7. Mailing Lists
8. Cluster Status
9. Quit

Installation

After cloning this repository, install its dependencies:

yarn install

How to start it

There are three ways to start this tiny example:

  1. pnpm start
  2. node index
  3. node index.js

License

Copyright © 2021-2025 Emanuele Aliberti, MTKA

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

About

Say hello to MDaemon.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors