Git Product home page Git Product logo

ssx's Introduction

codecov

SSX

SSX is a SpruceKit library that enables you to easily add user authentication, session management, and more to your app.

Documentation

Documentation for SSX can be found here.

SDKs

Useful Commands

โš  This repository requires node >= 18.16.0

  • yarn - Install dependencies and build packages
  • yarn build - Build all packages and examples
  • yarn build:packages - Build all packages
  • yarn build:examples - Build all examples
  • yarn examples - Concurrently run the ssx-test-app and ssx-test-express-api found in ./examples
  • yarn test - Run unit tests (Jest)
  • yarn test:e2e - Run E2E tests (Cypress/Synpress)
  • yarn reset - Remove all build artifacts and node_modules

Docker

SSX ships with a Docker Compose configuration for setting up a local development and testing environment with SSX server and our example app. Make sure you have Docker and Compose installed, then create a .env file in the project root:

ssx_listenPort=8443 # ssx server will be available on http://localhost:8443
ssx_signingKey= # session secret for ssx server
ssx_providers__metrics__apiKey= # ssx metrics api key https://app.ssx.id
ssx_providers__rpc__apiKey= # infura api key for wallet connect (optional)

Save your .env file and from the project root, run:

docker compose up

Docker will build containers for the SSX server and example app from the working tree and start them both.

ssx's People

Contributors

44203 avatar anukritidata avatar chunningham avatar cobward avatar dependabot[bot] avatar franklovefrank avatar juliano1612 avatar krhoda avatar obstropolos avatar sbihel avatar skgbafa avatar w4ll3 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

tinycloudorg

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.