- Linux
- nodejs >= 16.x
- pino-petty
- mongodb
- redis >= 5.0
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs
curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
apt-get install -y nodejs
npm install -g pino-pretty
Install mongodb
sudo apt-get install mongodb
Create a new user:
use aitestkit
db.createUser({user:"aitestkit",pwd:"aitestkit",roles:["readWrite"]})
Install redis server
sudo apt install redis-server
Update /etc/redis/redis.conf and set notify-keyspace-events to Kh
notify-keyspace-events Kh
Create a .env file with the following values
NODE_ENV, MONGODB_URI
mongod
npm run dev