Power your marketplace platform
OpenAPI documentation for RestAPI backend http://localhost:8000/api/v1/docs
API endpoint Successful response
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