Table of Contents |
---|
...
xFans architecture needs these softwares
NodeJS v16.x LTS >= v20.11.1
To install please download NodeJS here
MongoDB >= v4.2
To install please download mongoDB
Redis server >= v2v7.8x
To install please download and setup redis
Nginx >= v1.3 with http_auth_module is enabled
PM2 is a daemon process manager that will help you manage and keep your application online 24/7
Yarn or npm to manage nodeJS package
...
1. NodeJS
Code Block |
---|
$ node -v v16v20.1611.21 |
2. MongoDB
Code Block |
---|
$ mongo --version MongoDB shell version v4.0.7 git version: 1b82c812a9c0bbf6dc79d5400de9ea99e6ffa025 allocator: system modules: none build environment: distarch: x86_64 target_arch: x86_64 |
...
Code Block |
---|
$ redis-server --version Redis server v=57.01.4 sha=00000000:0 malloc=libc bits=64 build=d4ba11298acbb366 |
...
III. Setup and Test It Locally
We provide source code with 4 folders, check below and use in the app accordingly
user
web frontend (front office)admin
backend (back office), admin control panelapi
api of the appconfig-example
env
product environment example confignginx
nginx config example
...