Skip to content

strongly-labs/strong-js

Repository files navigation

Full Stack React

Strong-JS is a truly fullstack React App development framework which brings powerful tools and frameworks (React Native, NextJS, Prisma) together with minimal glue to enable rapid platform application development across platforms.

Mini Apps

Using the Strong-JS cli you can create multiple NextJS zones (mini apps), which are stitched together automatically to share resources and scale independently. At the moment only one React Native application is supported but React Native mini apps are on the Roadmap for near future.

Data Driven

The Strong-js pattern is to use the Prisma schema to generate and automate application infratructure, eg. REST endpoints, Admin UI, GraphQL Endpoint, Swagger API Docs and more. The idea is to allow developers to focus on what makes their product unique rather than spend time on tedius and repetative tasks which add little business value.

More lego, less spaghetti

Strong-js enables developing features as isolated packages without the overhead of managing multiple repositories and seperate workflows.

The cli command create allows you to choose between creating an app (NextJS Zone) or a package. Choosing the latter creates a new typescript package with roll-up preconfigured.

Your package will be built and updates made available to apps on save, in real time. And can manage releases for your packages using the changesets

Monorepo

Since the apps leverage schema driven automation and feature isolation, it would make life a lot simpler if any changes to the schema or packages could be tested, built and deployed universally with a single test or deploy command.

Strong-js features a monorepo with web and mobile apps under a single apps workspace and feature packages in the packages.

With the following features out of the box.

  • React Native

    • With Hermes (Android and iOS)
    • With MMKV (JSI Based Secure Local Storage)
    • React Native App Auth
      • With Token Refresh
  • NextJS

    • Multizone setup (Compose multiple NextJS projects into one)
    • With API Routes (Serverless)
    • Signgle Sign on with NextAuth
    • Role based acces control
      • GraphQL field authorization
      • REST Resource authorization
    • Apollo Server over Next API Routes
    • Auto generated TypeGraphql
    • Auto generated RESTful APIs for Prisma Models
    • Auto generated Admin UI
    • Auto generated API documentation with swagger-docs

Testing

Strong-js encourages a strong focus on testing and comes with the following tools out of the box.

  • End to End web tests with Cypress
  • End to End mobile tests with Detox
  • Containerised Integration Testing with Test Containers

Github workflows

Strong-js projects come with pre-configured workflows for testing and deployment automation that can:

  1. Run both web and mobile End to End tests as github actions.
  2. Deploy the mobile app to Android and iOS stores using fastlane.
  3. Deploy the web app to vercel

About

A truly full-stack React framework

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •