Neurelo Build Docs
Neurelo Build Docs
  • Introduction
    • Core Concepts
    • Key Features
  • Getting Started
    • Sign-in/Sign-up
    • Dashboard
      • Collapsible Sidebar
      • Light/Dark Mode
      • Account Settings
      • Audit Events
      • User Management
        • Permissions (Member v/s Admin)
      • Org Settings
    • Starting your Neurelo Project
      • Quick Start Guide
      • Step 1 - Add a Data Source
      • Step 2 - Build Definitions
      • Step 3 - Create an Environment
      • Step 4 - Create an API Key
      • Step 5 - Start Runners
      • Try your Neurelo APIs
  • "How to" Videos
    • Product Overview
    • Neurelo APIs & SDKs
    • Project Setup
    • Definitions
    • Environments
    • Data Sources
    • Organization Management
    • Creating and Using Custom Queries
    • Using the Schema Builder to build Relationships
    • Mock Data Generation
  • Definitions
    • Neurelo Schema Editor
      • Schema Builder
      • JSON/YAML Editor
      • Schema Visualization: Entity-Relationship Diagram (ERD)
    • Custom APIs for Complex Queries
      • Write and Commit Custom Queries
      • AI-Assisted Query Generation
      • Deploying Custom API Endpoints
      • Using Variables in your Custom Query
    • Branches and Commits
    • API Docs
  • Environments
    • Creating a new Environment
    • API Playground
    • Observability
    • Migrations
    • API Keys
  • Data Sources
    • PostgreSQL
    • MySQL
    • MongoDB
  • Guides
    • Provisioning Cloud Databases for using with Neurelo
      • PostgreSQL
        • AWS RDS (PostgreSQL)
      • MySQL
        • AWS RDS (MySQL)
      • MongoDB Atlas
    • Mock Data Generation
    • Wipe Data Source
    • Remote Git Repository for Definitions
      • Connecting a Remote Git Repo
      • Creating Commits from Neurelo
      • Syncing Branches
    • Data Viewer
    • Environment/Data Source Tags
    • How to work with Embedded documents and References in MongoDB
    • How to download and use the Postman Collection for your Project
    • Building Python applications with Postgres and FastAPI
    • CI Integration using Neurelo CLI
    • Schema Migrations
    • Schema AI Assist
    • Auto-Introspection
    • Access Policies
    • User Auth
      • Google
      • GitHub
      • GitLab
    • MongoDB Atlas - Migrate GraphQL to Neurelo
    • MongoDB Atlas - Migrate REST Data APIs to Neurelo
  • MongoDB Atlas - Migrate REST Data APIs to Neurelo
  • MongoDB Atlas - Migrate GraphQL APIs to Neurelo
  • Neurelo Schema Language (NSL)
    • Example 1 - DVD Rentals
    • Example 2 - Simple "Posts" App
    • Example 3 - Bookstore
  • Neurelo API Reference (REST)
    • Examples of Neurelo Auto-Generated REST API endpoints
      • Example 1 - Simple “Posts” application
      • Example 2 - "DVD Rentals" application
      • Example 3 - "Bookstore” application
      • cURL API Examples
  • Neurelo API Reference (GraphQL)
  • SDKs
    • TypeScript / JavaScript SDK
    • Go SDK
    • Python SDK
      • Python SDK Tutorial -- News Application
        • News Application using Neurelo’s Python SDKs
  • CLI (Preview Version)
  • Self-Hosted Neurelo Gateways
  • Tutorials
    • Building a Real Time Chat Application with Neurelo and MongoDB using Python
    • Building A Financial Terminal with Neurelo and MongoDB in Rust
    • Building a Restaurant Management System with Neurelo and MongoDB using GraphQL in just a few minutes
    • Bringing Neurelo’s Data APIs to Life Instantly with MySQL
  • Project Examples
  • References
    • Supported Databases
    • Supported OS and Browsers
  • Support
Powered by GitBook
On this page
  • Overview
  • Navigating and Managing Branches in Neurelo
  • History (of Commits)
  • View a specific Commit
  1. Definitions

Branches and Commits

PreviousUsing Variables in your Custom QueryNextAPI Docs

Last updated 1 year ago

Overview

Neurelo provides a Git style Version Control System (VCS) for all your data access meta-data. This meta-data set is called "Definitions" in Neurelo and comprises Schema (as code), Auto-generated APIs and Custom Query Endpoints.

It helps you keep track of changes, so you can easily go back to an earlier version or review changes made over time. It's a handy tool that ensures your development journey is organized and you can undo or redo things whenever needed.

Navigating and Managing Branches in Neurelo

In Neurelo, branches are used for managing different versions or stages of your project. Here’s how you can navigate and create branches:

  1. Locating Branches:

    • Refer to the provided screenshot to find the "Branches" option.

    • On the Definitions page, you’ll see a dropdown indicating the current branch, usually set to the main branch by default.

  2. Viewing All Branches:

    • Click on "View All" in the branch dropdown to be redirected to the "Branches" section.

    • Here, you can view all the branches you have created.

      • Toggle "Include Other Branches" to switch the display between only the "Active Branches" and "All Branches".

    • If you have multiple branches, use the search bar to find a specific branch quickly.

  3. Creating a New Branch:

    • You can create a new branch from either the Definitions page or directly in the Branches section.

    • From Definitions Page: Click on the branch dropdown and select "New Branch".

    • From Branches Section: Go to the Branches section (by clicking "View All" from the Definitions page). Click the "New" button.

  4. Creating a Branch - The Process:

    • Clicking "New Branch" (inside the drop down) or "New" (on the Branches sub-section) triggers a popup for creating a new branch.

    • Enter the "Branch Name" and click on "Submit" to create the branch.

    • The new branch will appear in the branch dropdown on both the Definitions page and the Branches section.

    Branches View:

    Definitions Editor View:

  5. Navigating Back to Definitions:

    • To return to the Definitions page, click on the small back arrow located before the "Branches" title.

This functionality allows for efficient management of different project versions or stages, providing flexibility and control over your project’s development in Neurelo.

History (of Commits)

The History button is located right next to the branch button. Clicking on this will show the history of your previous commits on your branches.

View a specific Commit

You can select a particular previous commit from the commit history list and click on View commit button. This will open a new screen with the details of selected commit. The page opens in "Diff mode" by default where changes in this commit (schema as well as custom queries) are highlighted

The diff mode is enabled by default, you can disable the diff mode by sliding the Diff mode toggle button to see all the definitions in the commit.