Skip to content

GMKAKISTOS/Mini_Project_MongoDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Mini_Project_MongoDB

This repository contains a MongoDB mini-project showcasing basic database operations such as creating users, collections, inserting, querying data, managing indexes and implementing user roles and privileges. It includes a JavaScript file with MongoDB commands and a directory of screenshots demonstrating authorization configurations.

Table of Contents

Features

  • User creation and role assignment with specific privileges.
  • Creation of collections and insertion of sample data.
  • Index creation for optimized queries.
  • Basic CRUD operations (Create, Read, Update, Delete).
  • Aggregation queries for data analysis.
  • Screenshots illustrating MongoDB authorization setups.

Installation

  1. Ensure you have MongoDB installed and running on your local machine.

  2. Clone this repository to your local machine:

    git clone https://github.com/GMKAKISTOS/Mini_Project_MongoDB.git
    cd Mini_Project_MongoDB

Usage

  1. Connect to MongoDB: You can connect to MongoDB using the MongoDB shell or a MongoDB client such as Compass.

  2. Run the script: Execute the Mini_Project_MongoDB.js file in the MongoDB shell. This script contains commands to create users, collections, insert data and perform various database operations. Open the MongoDB shell and run:

    mongo < Mini_Project_MongoDB.js

Alternatively, paste the contents of the file directly into the MongoDB shell. 3. View Screenshots: Refer to the screenshots in the MongoDB_Authorization directory for guidance on setting up user roles and privileges. These images provide a visual reference for configuring authentication.

Dependencies

  • MongoDB: The primary database system used in this project. Required for running the provided JavaScript script.

About

Just a mini project with MongoDB using Studio 3T.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published