The Link Clicks Ads Manager uses a Django API server.
Simple starter built with Python / Django Rest / Sqlite3 and JWT Auth. Passwordless authentication is done by email.
π Step #1 - Clone the sources
$ git clone https://github.com/LinkClicks/ads_manager_api.git
$ cd ads_manager_api
π Step #2 - Create a virtual environment
$ # Virtualenv modules installation (Unix based systems)
$ virtualenv env
$ source env/bin/activate
$
$ # Virtualenv modules installation (Windows based systems)
$ # virtualenv env
$ # .\env\Scripts\activate
π Step #3 - Install dependencies using PIP
$ pip install -r requirements.txt
π Step #4 - Create a new
.env
file using sampleenv.sample
π Step #5 - Set up the databases
python manage.py migrate
python manage.py meta_setup
π Step #6 - Start the API servers
python manage.py qcluster
in another window run
uvicorn core.asgi:application --port 8000 --workers 4 --log-level debug --reload
The API server will start using the default port 8000
.