@ztimson/momentum (0.46.0)

Published 2024-10-14 14:31:42 -04:00 by ztimson

Installation

@ztimson:registry=
npm install @ztimson/momentum@0.46.0
"@ztimson/momentum": "0.46.0"

About this package


Logo

Momentum

Server Development Platform

Version Pull Requests Issues



Table of Contents

About

Momentum is a self-hosted server development platform. What does that mean? Think something similar to Firebase but you are in full control of your data & services.

It was developed as a generic backend to add functionality to single page applications such as angular, react, svelte or vue. Momentum comes with a client library to make integration extremely easy.

Momentum also comes with a management interface to allow easy administration of momentum without having to build anything.

Features include:

  • Actions
    • Write server side code to create custom functionality
    • Writen with javascript & the momentum client library to minimize the learning curve
    • Custom library and can be installed & accessed from actions using Docker & NPM
    • Trigger actions including CRONs, RESTFUL requests & system events
    • Extremely fast
  • Authentication
    • Manage users with custom values
    • Manage groups with cascading permissions & custom values
    • Token management for 3rd party applications
    • Full permission system which supports custom values
    • Account validation & reset emails
    • Optional public registration form
    • OAuth support for custom applications
    • Custom password strength rules
    • Two-Factor Authentication
  • Data
    • Edit database like an Excel table
    • Create custom forms & reports to interact with data
    • Interact with data through the REST API
    • Granular collection & document level permissions
    • Automatic metadata tracking
    • Easy import/export to CSV, Excel & JSON
  • Logs
    • Save & view server logs through the UI for easy debugging
    • Submit client logs to momentum to aid in remote debugging
    • Client logs come with device information such as user agent & screen size
  • Storage
    • Storage anything with momentum storage
    • Built in filebrowser
    • Upload & download files with the API
    • Full file permissions
    • Automatic metadata tracking
  • Static File Server
    • Host your single page application using Momentum for easy hosting
    • Configurable routing
  • Settings
    • Full theming & white label support
    • Manage the server through variables which can be changed at runtime
    • Create & use custom variables for your application
  • Miscellaneous
    • Automatically turn website into Progressive Web App
    • Caching & offline support built into the client library
    • Socket support to keep all clients in sync automatically
    • Generate PDFs from templates, HTML or links
    • SMTP support to send emails from templates
    • Twilio support to manage texts & calls
    • Stripe support to handle payments & subscriptions

Built With

Docker MongoDB Node TypeScript

Setup

Production

Prerequisites

Instructions

  1. Optional: Use momentum to host your static site
  2. Download the docker-compose file: curl -o momentum.yaml https://git.zakscode.com/ztimson/momentum/raw/branch/develop/docker-compose.yml
  3. Configure the Environment Variables inside the docker-compose
  4. Start the server with: docker-compose up -f momentum.yaml
  5. Open http://localhost:80

Development

Prerequisites

Instructions

  1. Install the dependencies: npm install
  2. Start MongoDB: docker-compose up db
  3. Start the dev server: npm run start
  4. Open http://localhost:3000

License

Copyright © 2024 Zakary Timson | All Rights Reserved

See the license for more information.

Dependencies

Dependencies

ID Version
@ztimson/utils 0.19.2

Development Dependencies

ID Version
@types/node ^22.5.4
typescript ^5.6.2
vite ^5.4.3
vite-plugin-dts ^4.2.1

Keywords

Momentum
Details
npm
2024-10-14 14:31:42 -04:00
7
Zak Timson
48 KiB
Assets (1)
Versions (61) View all
0.49.0 2024-11-08
0.48.0 2024-10-31
0.47.0 2024-10-14
0.46.0 2024-10-14
0.45.1 2024-10-13