DEV Community

Cover image for How to do local setup of API Maker 🚀
API Maker®
API Maker®

Posted on

5 3 2 2 3

How to do local setup of API Maker 🚀

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
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up