## Swarmlab is a collection of services that aims to
> - provide teachers and professors with online remote tools to do their lessons
>
> - give students the opportunity to study real life examples in their chosen area of expertise
>
> - allow developers to fully test and debug their applications and provide POC’s
>
> - or you simply want to use a Application (in a microservices-based architecture)
>
> Swarmlab provides you with all the required tools, tools to teach work or try out demos in a completely virtual environment.
>
> More info: http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs/swarmlab/docs/index.html
![alt text ](images/swarmlab-network.png "" )
## LabInstance mongoexpress
Web-based MongoDB admin interface written with Node.js, Express and Bootstrap3
Web-based MongoDB admin interface written with Node.js, Express and Bootstrap3
Features
* Connect to multiple databases
* View/add/delete databases
* View/add/rename/delete collections
* View/add/update/delete documents
* Preview audio/video/image assets inline in collection view
* Nested and/or large objects are collapsible for easy overview
* Async on-demand loading of big document properties (>100KB default) to keep collection view fast
* GridFS support - add/get/delete incredibly large files
* Use BSON data types in documents
* Mobile / Responsive - Bootstrap 3 works passably on small screens when you're in a bind
* Connect and authenticate to individual databases
* Authenticate as admin to view all databases
* Database blacklist/whitelist
* Custom CA and CA validation disabling
* Supports replica sets
https://github.com/mongo-express/mongo-express
## Quickstart
This is a quickstart guide of howto use this *LabInstance*
### HowTo use it
### Default Configuration
- Working Directory
> /home/docker/project
- Default user
> docker
- Default password
> docker
- Default password4root
> pass
### Default port
>
> port 8081
>
## Connect string
>
>
> Find ip with mongoserver
>
> nmap -sP IP/24
>
> nmap -p- IP
>
> mongo-express --admin --url mongodb://172.25.0.2:27017
>
> open Browser
>
## More Info: https://git.swarmlab.io:3000/docs/Documentation
>
> ./build.sh faq
>
>
> http://127.0.0.1:8080/swarmlab_faq/docs/index.html#microservice-mongoexpress
>
### RUN INSTANCE
Swarmlab services can be run in different ways.
- You can run them **through the swarmlab hybrid environment** (http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs/swarmlab/docs/hybrid/start-microservices.html)
- or use them individually at will on the **command line of your system**
#### CLI
> git clone ...
>
> cd [DIRECTORY]
>
#### help
>
> make help
>
#### create service
>
> make create
>
#### start service
>
> make start
>
#### stop service
>
> make stop
>
#### list service
>
> make list
>
#### clean service
>
> make clean
>