Django based microservice architecture with Oauth2
demo.mp4
Setup and run development server of identity server
$ cd identity/
$ virtualenv -p /usr/bin/python3 venv
$ source venv/bin/activate
$ python manage.py migrate
$ python manage.py runserver 8000
Setup and run development server of products api
$ cd product_api/
$ virtualenv -p /usr/bin/python3 venv
$ source venv/bin/activate
$ python manage.py migrate
$ python manage.py runserver 8001
Setup and run development server of nuxt web client
$ cd nuxt-client/
$ yarn install
$ yarn dev
Setup and run development server of identity server
$ cd identity/
$ docker-compose up --build
Setup and run development server of products api
$ cd product_api/
$ docker-compose up --build
Setup and run development server of nuxt web client
$ cd nuxt-client/
$ docker-compose up --build
Run identity, products api and nuxt web client together
$ docker-compose up --build