Skip to content

pinniped-baas/.github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

Overview

Pinniped is an open-source backend that prioritizes being portable, extensible, and user-friendly. To learn more about Pinniped's development, read our case study here.

Getting Started

Prerequisites

To create a Pinniped application the following must be installed:

  • Node.js

Once Node.js is installed, you can create a Pinniped application through its CLI tool.

Install the CLI

To install the CLI tool, you can use the built-in package manager npm. More information about the CLI can be found at its repository.

  1. Run npm install pinniped-cli -g.

Create a Pinniped Application

  1. Go to the directory where you'd like to create your application.
  2. Run pinniped create.

Extend Pinniped

If you want to add custom routes and custom event handlers, check out the main documentation here.

Deploy a Pinniped Application

Once your project is created and customized to your liking, you can move the project to a VPS that you've configured and run it.

Alternatively, you can use the CLI tool to deploy it to AWS following these instructions: First, you need to set up your AWS CLI tool. The instructions can be found here.

  1. Run pinniped provision to create and run an EC2 instance.
  2. Optional: update the variables in the given .env file if you want to specify the domain and port for the application to run on.
  3. Run pinniped deploy to deploy your application to an EC2 instance.

After the following steps are finished, your application is deployed on an AWS EC2 instance.

Managing Your Application

To monitor the backend, go to your admin dashboard at the relative path, /_.

If using AWS CLI deployment: To start your application on the provisioned EC2, run pinniped start.

Similarly, to stop your application, run pinniped stop.

If you need to update your application, i.e., adding function handlers for custom events, then run pinniped update to push the local changes in your project directory to the EC2's local directory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •