/malliva

Power your marketplace platform. Services on Malliva have been configured to run smoothly as Docker containers. Run the docker-compose command as specified in the Readme file.

Primary LanguageTypeScriptMIT LicenseMIT

malliva

Power your marketplace platform

Screenshots

OpenAPI documentation for RestAPI backend http://localhost:8000/api/v1/docs OpenAPI

API endpoint Successful response API endpoint response

Home page Home page

Setup

test TODO: To be reorganized

Run export MALLIVA_ENVIRONMENT='DEVELOPMENT'

or

$env:MALLIVA_ENVIRONMENT='DEVELOPMENT'

Python 3.8 required

FastAPI

docker-compose up -d

when you want to rebuild image otherwise just run the above docker-compose up -d --build

API end points

http://localhost:8000/api/v1/user/ POST

http://localhost:8000/api/v1/marketplace/create/ POST

npm install -g nx

npm install

sudo apt install gettext

nx serve market-app nx serve marketing-app or

npm run nx -- serve marketing-app

Change secret key for production

mongoengine_migrate --log-level=debug -u mongodb://localhost/malliva21_db makemigrations -m mallivaUsers.models

mongoengine_migrate --log-level=debug -u mongodb://localhost/malliva21_db migrate

mongoengine_migrate --log-level=debug -u mongodb://localhost/malliva21_db downgrade 0000_auto_20210626_1748

mongo $MONGO_INITDB_DATABASE -u $MONGO_INITDB_ROOT_USERNAME -p $MONGO_INITDB_ROOT_PASSWORD

Malliva API Backend for Malliva Platform

http://localhost:8000/api/v1/docs

Malliva API Backend for Marketplace Accounts

http://localhost:8000/maccounts/api/v1/docs