Skip to content

The backend service for the API developers of DNA-Gate, a SaaS app for robust biometric authentication.

License

Notifications You must be signed in to change notification settings

ArnolFokam/dna-gate-backend

Repository files navigation

About The Project

This is the backend of DNA Gate, a SaaS app for robust biometric authentication.

Check this link for more information.

Built With

Getting Started

  1. Clone the repository
  2. Enter the project's directory and edit the .env file as follows
APP_NAME=ModzyHack
ENV=development

SECRET_KEY=supersecretkey
ALGORITHM=HS256
TOKEN_EXPIRE_MINUTES=60

MONGODB_URL=uri of a running mongo instance (eg. mongodb://127.0.0.1:27017/?retryWrites=true&w=majority)
DATABASE=mongodb database to use

MODZY_API_KEY=your modzy api key
  1. Run pip install -r requirements (Make sure that you have Python <= 3.8 and pip before running this command)
  2. Run uvicorn main:app --host=0.0.0.0 --port=${PORT:-8000}

You should have your backend up and running at http://localhost:8000. You can see the SwaggerUI API documentation of the backend at this link

Note: If you deploy to heroku, you need to add soundfile library package for voice recognition to work. To do so, add the apt buildpack and it will look at Aptfile in the project to install necessary libraries.

License

Distributed under the Apache 2.0 License. See LICENSE.txt for more information.

(back to top)

Contact

Arnol Fokam - @ArnolFokam

Project Link: https://github.com/ArnolFokam/dna-gate

(back to top)

Acknowledgments

  • Modzy (Computer Vision pre-trained models)

(back to top)

About

The backend service for the API developers of DNA-Gate, a SaaS app for robust biometric authentication.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published