Dikann's web service is the backbone of Dikann. It provides you with a secure, fast, and powerful API to create, read, update, and delete Users, Products, Discounts, Category, etc.
There are two ways to install Dikann's web service on your machine. The easiest way is by using docker.
Download the latest version of web-service-docker.zip from here.
unzip web-service-docker.zipcd web-service-docker.env file contains all the configurations of Dikann's web service.
Make sure to change
DIKANN_ADMIN_EMAIL,DIKANN_ADMIN_PASSWORD,DIKANN_JWT_SECRET_KEY,POSTGRESQL_DATABASE_passwordvariables.
vi .envdocker-compose upMake sure you have openjdk >= 8 installed on your machine.
Dikann uses PostgreSQL as its database.
Download PostgreSQL from here.
Install PostgreSQL on your machine and create a database and a user with privileges to that database. Docs
You can also use Docker to install PostgreSQL on your machine. more information
Download the latest version of web-service.zip from here.
unzip web-service.zipcd web-service-docker.env file contains all the configurations of Dikann's web service.
Make sure to change
DIKANN_ADMIN_EMAIL,DIKANN_ADMIN_PASSWORD,DIKANN_JWT_SECRET_KEY,POSTGRESQL_DATABASE_NAME,POSTGRESQL_DATABASE_USER,POSTGRESQL_DATABASE_passwordvariables.
vi .envjava -jar dikann-web-service.jar --spring.config.location=application.propertiesAll the documentations can be found here.