1.0.21 • Published 7 months ago

@internalstack/server v1.0.21

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

InternalStack Server

License: MIT FOSSA Status FOSSA Status

Checked with Biome

InternalStack Server empowers you to build internal applications for your team using only backend TypeScript/JavaScript code. With a declarative API, streamline your development by focusing on business logic instead of things like CORS troubleshooting.

import { internalStack } from '@internalstack/server';

const server = await internalStack('live_psk_5b2d902f24a057349d9f2d1c385fef7c59');

server.statefulSession(async (io, { user }) => {
  const note = await io.input.text('Note');
  console.log(user, 'says: ', note);
  // e.g. e.ripley@internalstack.com says: Hello World!
});

InternalStack Server is free, open-source software designed to run on-premises.

🌟 Quickstart

For a fast setup, please refer to our Quickstart Guide.

📦 Installation

# Using pnpm
pnpm i @internalstack/server

# Using npm
npm i @internalstack/server

# Using bun
bun add @internalstack/server

# Using yarn
yarn add @internalstack/server

🚀 Deployment

To ensure robust operation, we recommend using a process manager like PM2, which will automatically restart your server as needed.

Steps to Deploy

  1. Install PM2

    npm install pm2 -g
  2. Start Your Application

    You can start your server with TypeScript or JavaScript:

    pm2 start server.ts
    # or
    pm2 start server.js

☁️ InternalStack Cloud

Explore our free-forever tier for smaller teams at InternalStack Cloud.

Note: InternalStack Cloud is a premium, closed-source solution offering advanced functionalities such as:

  • Single Sign-On (SSO)
  • Authorization
  • Socket proxying
  • Enhanced rendering capabilities

Sign up for a free account at InternalStack Cloud. (No credit card required!)

🕮 Open Source Longevity

Should InternalStack Cloud discontinue, all closed-source components (rendering, authorization, SSO, socket proxying) will be publicly available and re-licensed under the MIT license, ensuring ongoing accessibility and community contributions.


We take pride in making development breezy and efficient. Contributions and feedback are welcome. Let's build something amazing together! 🚀

Alternatives

Looking for a fully self-hostable solution? Maybe check out Interval!

Inspiration and credit

The developer-facing API design was heavily inspired by the landing demos on Interval

1.0.21

7 months ago

1.0.19

8 months ago

1.0.16

8 months ago

1.0.20

8 months ago

1.0.15

8 months ago

1.0.14

8 months ago

1.0.13

8 months ago

1.0.11

8 months ago

1.0.12

8 months ago

1.0.10

8 months ago

1.0.9

8 months ago

1.0.8

8 months ago

1.0.7

8 months ago

1.0.6

8 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago