NgBilling Admin initialize the Organization setup for you. React front end communicate with NgBilling to setup Organization and resellers. This is base setup application for default ngbilling database. Admin dashboard application is based on React-Admin and is available in separate repository.
- Create the Admin User for the Organization
- Initialize default roles like Customer,Staff
- Initialize default Order status like. Active,Suspended
- Initialize default Invoice status
- Initialize default dunning policies
- Initilize default account profiles
- Initilize default Payment Methods.
For Token Authentication, we’re going to have 2 endpoints:
- POST
api/auth/signup
for Admin Registration - POST
api/auth/signin
for Admin Login
The following flow shows you an overview of Requests and Responses that React Client will make or receive. This React Client must add a JWT to HTTP Header before sending request to protected resources.
This project was bootstrapped with Create React App.
.env
PORT=8081
In the project directory, you can run:
npm install
# or
yarn install
or
npm start
# or
yarn start
Open http://localhost:8081 to view it in the browser.
The page will reload if you make edits.