Skip to content

Instantly share code, notes, and snippets.

View mian-ali's full-sized avatar
🎯
always code✨

Ali Ahmad mian-ali

🎯
always code✨
View GitHub Profile

MongoDB CheatSheet

All MongoDB commands you will ever need MongoDb Cheatsheet

We will see a comprehensive list of all the MongoDB commands you will ever need as a MongoDB beginner. This list covers almost all the most used commands in MongoDB. I will assume that you are working inside a collection named comments on a MongoDB database of your choice

1. Database Commands

View all databases

@mian-ali
mian-ali / React Component Lifecycle Methods.md
Last active March 9, 2022 07:00
Each component in React has a lifecycle which you can monitor and manipulate during its three main phases. The three phases are: Mounting, Updating, and Unmounting.

The Component Lifecycle

Each component in React has a lifecycle which you can monitor and manipulate during its three main phases. The three phases are: Mounting, Updating, and Unmounting.

The component lifecycle goes through the following phase

  • Mounting
  • Updating
  • Unmounting
@mian-ali
mian-ali / devcamper_description.md
Last active April 8, 2022 17:28
Specs for Devcamper project Build with Node.js , Express.js, MongoDB and Much More.................

DevCamper Backend API Specifications

Create the backend for a Bootcamp directory website. The frontend/UI is in progress and used as a reference for functionality. All of the functionality below needs to be fully implemented in this project

Bootcamps

  • List all bootcamps in the database
    • Pagination
    • Select specific fields in result
  • Limit number of results