Building more and more apps within qliksense I run into several personal optimisations that I wan’t to share with you. After a couple of pains I figured out how to workaround those issues and setup an enterprise ready architecture.
- Install MongoDB
- pls. follow the guide on https://www.mongodb.com/download-center#community
- or just use a docker image https://hub.docker.com/_/mongo/ (I prefer to go with the docker image – docker-compose.yml)
- Install strapi – pls. follow the quickstart on https://strapi.io
# Use root/example as user/password credentials version: '3.1' services: mongo: image: mongo restart: always environment: MONGO_INITDB_ROOT_USERNAME: admin MONGO_INITDB_ROOT_PASSWORD: admin mongo-express: image: mongo-express restart: always ports: - 27017:8081 environment: ME_CONFIG_MONGODB_ADMINUSERNAME: admin ME_CONFIG_MONGODB_ADMINPASSWORD: admin
You can start your mongoDB container using: docker-compose up -d
After the database is up and running, create a new directory e.g. strapi change into it and start with the installation of strapi using: npm install