Skip to content

Getting Started

Rifbid is designed to facilate the connection between government organizations and suitable matching companies. This guide will explain how to set up the front end for the project locally.

Quick Start

Clone the project locally

Clone the project by running the command below in your terminal

git clone https://github.com/Orbtronics-Dev/Rifbid-Api-Only.git

Then navigate to your project directory and set up a virtual environment on your machine

python -m venv venv

Activate the virtual Environment

Activate on mac

source venv/bin/activate

Activate on Windows

.\venv\Scripts\activate

Create an env variable

Next create a .env file and set up the following env variables. Reach out to a Senior Developer for the values.

MONGO_URI=
OPENAI_API_KEY=
PowerTranzPowerTranzId=
PowerTranzPowerTranzPassword=
RequestId=
MONGODBUSER=
MONGODBPW=
TOKENIZE_ENDPOINT=
SALE_ENDPOINT=
PROCESS_SALE_ENDPOINT=
FRONT_ENDPOINT=
NON3DS_ENDPOINT=
EMAIL_USERNAME=
EMAIL_PASSWORD=
SECRET_KEY=
FRONT_END_URL=
BACK_END_URL=
SENDGRID_API_KEY=

Set up firebase-key

Create a file called firebase-key.json. Reach out to a Senior Dev for the full file.

{
"type": "service_account",
}

Start the app

You can now start the server by running

python app.py