Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

atlas-app-services-cli

Package Overview
Dependencies
Maintainers
0
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atlas-app-services-cli

The Atlas App Services Command Line Interface

  • 2.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Atlas App Services CLI

Installation

NPM

npm install -g atlas-app-services-cli

Setup

See detailed instructions on the MongoDB Atlas App Services Documentation

Overview

The appservices CLI helps manage your Atlas App Services application's changes via your local machine.

An application is structured in your filesystem as a collection of directories and files corresponding configurable entities that can be set up for your application.

See the App Configuration documentation for more details.

Quick Start

Logging In

appservices login

This command will bring you to the Access Manager page in Atlas, where you can create an API key and set permissions. Once you have done that be sure to copy the public and private key and fill out the interactive prompts in the CLI.

Creating a "blank slate" application

appservices app create  --name <your app name>

When not all required parameters are supplied, the CLI will prompt you to provide the necessary information

Default Options

The CLI will create an app using sensible defaults for any parameter that is not required and not supplied

Creating a template starter application

You can generate a fully working application in the language of your choice in a single command using template starter applications.

To use them to create apps in the CLI you can supply --template to the app create command.

A full list of template apps are documented here

**Note that template apps require a provisioned atlas cluster to create

ie:

appservices create --name myApp --template sync.todo --cluster myCluster1

App Services Application Development Tips + Best Practices

  1. Use git to track changes to your application over time. This is especially useful for working in teams.
  2. You can test your functions in the CLI using the appservices function run command.

Keywords

FAQs

Package last updated on 14 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc