Installing Cryptomask Server
Prerequisites
To run Cryptomask server you need the below prerequisites.
Windows/Mac OS/Ubuntu Server with 4GB RAM
Node JS Version 18.18.0
PostgreSQL Version 15.4 (stable)
Quickstart
Running the server is straightforward. To get started, configure the service application by updating the necessary values in the .env
file.
The
SECRET
is a password you choose, and it’s crucial to keep it highly confidential. This value is used to sign JWT tokens, ensuring the security of your application.To obtain you your
MORALIS_API_KEY
from below link
Installing Node JS
Download and run the NodeSource setup script for Node.js 18
Install Node.js
Verify installation
Installing Cryptomask Server dependencies
Open terminal in the root of the server script and run the below command to install project dependencies.
Migrate database
To start development server, run
Running in Production server
To run this backend service in a production environment you need to install PM2 and run the script as service. Follow below instruction for achieve this.
Installing PM2 as global node module
And run below command to spin up the production server
Last updated