/shope-shop

Simple shop is used for Sun* Atlas's training purposes

Primary LanguageTypeScript

shope-shop

Simple shop is used for Sun* Atlas's training purposes. Shope API Docs.

image

Development

Start all dev containers for development mode:

devspace dev -p dev

Or start dev container for one:

# start api container:
devspace dev -p dev --dependency api

# start web ui container:
devspace dev -p dev --dependency ui

Deploy

  • For local deployment:
devspace deploy
  • For production deployment:
devspace deploy -p production
  • Grant roles on MongoDB:
mongosh admin --username root -p

use admin
db.createUser(
  {
    user: "shope",
    pwd: "secret",
    roles: [
        { role: "clusterMonitor", db: "admin" },
        { role: "read", db: "local" }
    ]
  }
)