For a walkthrough on how to convert this boilerplate into a secure reporting application using your own data, refer to this guide.
Install the dependencies.
npm install
Rename .env.example
to .env
and replace the values for AUTH0_CLIENT_ID
, AUTH0_DOMAIN
, and AUTH0_CLIENT_SECRET
with your Auth0 credentials. If you don't yet have an Auth0 account, sign up for free. Then replace the values for REFLECT_SECRET_KEY
, REFLECT_ACCESS_KEY
with your Reflect project credentials. Again, if you don't yet have a Reflect account, sign up for free.
# copy configuration and replace with your own
cp .env.example .env
Run the app.
npm start
The app will be served at localhost:3000
.
Reflect helps you to:
- Serve realtime dashboards and visualizaitons to your users, embedded directly into your application and themed to match your brand
- Build interactive reports without writing a line of code
- Parameterize your reports, so only authenticated users have access to private information
- Save and share drafts across teams, and export reports to PDFs
- Interact with our API to build robust custom controls for users to navigate their data
- Go to Reflect and submit your credentials to register.
- Activate your account via the confirmation email.
- Follow the onboarding flow to build your first report.
Auth0 helps you to:
- Add authentication with multiple authentication sources, either social like Google, Facebook, Microsoft Account, LinkedIn, GitHub, Twitter, Box, Salesforce, amont others, or enterprise identity systems like Windows Azure AD, Google Apps, Active Directory, ADFS or any SAML Identity Provider.
- Add authentication through more traditional username/password databases.
- Add support for linking different user accounts with the same user.
- Support for generating signed Json Web Tokens to call your APIs and flow the user identity securely.
- Analytics of how, when and where users are logging in.
- Pull data from other sources and add it to the user profile, through JavaScript rules.
- Go to Auth0 and click Sign Up.
- Use Google, GitHub or Microsoft Account to login.
Reflect building on top of another sample app by Auth0
This project is licensed under the MIT license. See the LICENSE file for more info.