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

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

đź‘‹ Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay