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
.