Nile Documentation home pagelight logodark logo
  • Community
  • Get Started
  • Get Started
Postgres
Auth
AI
Platform
ManagementAPI
Auth API
Pricing
Templates
Discord
auth
  • POST
    Sign in to the application
  • POST
    Sign out of the application
  • GET
    Get the current session
  • GET
    Get CSRF token
  • GET
    Get available providers
  • POST
    Handle provider callback
  • POST
    Refresh session token
  • GET
    Retrieve password token
  • PUT
    Resets the password
  • POST
    Reset password
users
  • GET
    Identify the principal
  • PUT
    update the principal profile
  • POST
    Signs up a new user
  • PUT
    links an existing user to a tenant
  • DEL
    Unlinks a user from a tenant
  • PUT
    update a user
  • GET
    a list of tenant users
  • POST
    create a new user and assigns them to a tenant
  • GET
    lists tenants of user
  • POST
    Creates a user
tenants
  • DEL
    delete the current user
  • GET
    get a tenant
  • PUT
    update a tenant
  • DEL
    delete a tenant
  • POST
    creates a tenant

React

​
@niledatabase/react

Nile ships a few common components with its react sdk, focused around user login and sign up. It is integrated with @niledatabase/server, which generates matching API routes.

​
Installation

​
Components

You can see a list of components and their configurations by visiting the Nile database storybook.

​
Theming

The components use @mui/joy. @mui/joy is still in active beta, and the <UserTenantList /> uses a component that has not fully been migrated yet, so extending the @mui/joy theme is required.

You can see how the Nile storybook extends theming via github.

Was this page helpful?

On this page
  • @niledatabase/react
  • Installation
  • Components
  • Theming
Nile Documentation home pagelight logodark logo
xgithublinkedindiscord

Resources

BlogPricingTemplatesCommunity

Company

CareersAbout

Support

Contact SalesGet HelpFAQ
xgithublinkedindiscord
Powered by Mintlify
Assistant
Responses are generated using AI and may contain mistakes.