This is the frontend (dashboard) of DNA Gate, a SaaS app for robust biometric authentication.
Check this link for more information.
- Clone the repository
- Enter the project's directory and edit the .env file as follows
SECRET_KEY=supersecretkey
STRIPE_SECRET_KEY=sk_test_
REACT_APP_STRIPE_PUBLISHABLE_KEY=pk_test_
DNA_GATE_API_KEY=you DNA Gate api ley available through the dashboard (key management section)
DNA_GATE_URL=the link to your DNA Gate backend
MONGODB_URI=link to a running instance of mongodb (eg. mongodb://localhost:27017/dna-gate-demo-app)
NODE_ENV=development
- Run
npm install
- Run
npm run dev
to run a development version of the project - Run
npm run build && npm run build:server:nodemon
to run a production version of the project.
Note:
- you should have NODE_ENV=production in the .env if you are running a production version.
- You must set
STRIPE_SECRET_KEY
andREACT_APP_STRIPE_PUBLISHABLE_KEY
in the .env file accordingly to have the payment functionality of the exmaple app. See docs. You should have the frontend of the app front end up and running at http://localhost:5000.
Distributed under the Apache 2.0 License. See LICENSE.txt
for more information.
Arnol Fokam - @ArnolFokam
Project Link: https://github.com/ArnolFokam/dna-gate