How to do local setup of API Maker 🚀
API Maker®
Posted on January 1, 2024
How to do local setup of API Maker
Install Pre-requisites
âś… Check Node.js 18
âś… Check Docker
âś… Check MongoDB 6 with Replica Set
âś… Check Redis
1 Create folder with name “am-install-test-local”
2 cd "am-install-test-local"
3 nvm use 18 && npm init -y
4 npm install @sava-info-systems/api-maker
👉 Normal x64 Windows/Linux/Mac(Intel) Users
npm install oracledb@5.5.0
👉 Apple Silicon/ARM architecture processors
npm install oracledb@https://github.com/oracle/node-oracledb/releases/download/v5.5.0/oracledb-src-5.5.0.tgz
Note:- You will not be able to connect to oracle database from Apple Silicon mac.
5 cd node_modules/@sava-info-systems/api-maker
6 Modify .env
file and set your things.
7 Install PM2 = npm install -g pm2@5.3.0
8 Go inside dist folder = cd dist
9 pm2 serve --spa --port 4626 --name api_maker_fe
It will start API Maker admin panel on http://127.0.0.1:4626
10 cd ..
11 Set some .env
settings in dist
= npm run set-env-in-fe
12 node main.js
13 Open http://127.0.0.1:4626
admin@admin.com | Admin_123456789
root@root.com | R00t_123456789
Posted on January 1, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.