It is a platform for B2B buyers and sellers(Who is Wholesaler), primarily intended to:
- Allow sellers to make their products publicly accessible
- Allow buyers to place orders, or make inquiries
- Allow buyers to easily track balances/orders/payments across all sellers.
- Allow sellers to promote their business and reach new buyers.
-
Using Docker Compose
docker-compose up --build --force-recreate docker-compose -f docker-compose-production.yml up --build --force-recreate
-
Using Docker Command
docker build . -t app-image-name docker run -d -p 3000:3000 app-image-name
-
Without using Docker
npm run dev
docker images (Check all docker images) docker ps (Check active containers) docker network ls docker exec -it -u root e4b(imageID) sh
docker-compose ps docker-compose build --help docker-compose down (To stop container) docker logs docker container prune docker image prune docker image rm
docker volume create app-data docker volume inspect <volume_name> docker run -d -p 4000:3000 -v app-data:/app/data
docker exec -it -u root ab3 sh mongo show dbs
Adding User addgroup app adduser -S -G app app