Admin PanelImport MongoDb files

Import MongoDB Data

After setting up your server, you need to import the initial database structure to make the app functional.


Download MongoDB Compass

MongoDB Compass is the GUI that allows you to manage your database easily.

Official Link: Download MongoDB Compass

Get Your Connection String

After you successfully ran the install.sh script, a connection string was generated. It looks like this: mongodb://admin:YOUR_PASSWORD@YOUR_SERVICE_IP:27017/

⚠️

Ensure you have your Admin Password ready before trying to connect.

Open MongoDB Compass

Open the application and prepare to set up a new connection.

Open MongoDB Compass

1. Open MongoDB Compass and click New Connection

Connect to Your Database

Paste your connection string and establish the session.

Connect to Database

2. Paste your connection string and click Connect

Select Collection and Import

Navigate to the desired database and collection where you want to import your data.

Select Collection

3. Select the collection and click the Import button

Upload JSON/CSV Files

Select the files from your local machine to upload them into the database.

Import Files

4. Choose your JSON or CSV files and finish the import


Stuck on Connection?

If you cannot connect, check your firewall settings:

sudo ufw allow 27017