rk4bir / microservice-boilerplate

Django based microservice architecture with oauth2 πŸ”‹πŸŒŸ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

microservice-boilerplate

Django based microservice architecture with Oauth2

Demo

demo.mp4

Local setup guide

Local setup guide (with virtualenv)

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

Local setup guide (with docker: separate services)

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

Local setup guide (with docker: all service together)

Run identity, products api and nuxt web client together

$ docker-compose up --build

About

Django based microservice architecture with oauth2 πŸ”‹πŸŒŸ

License:GNU General Public License v3.0


Languages

Language:Python 37.8%Language:HTML 33.3%Language:JavaScript 14.0%Language:Vue 11.0%Language:CSS 2.1%Language:SCSS 0.9%Language:Dockerfile 0.7%Language:Shell 0.2%