Socket
Socket
Sign inDemoInstall

@sava-info-systems/api-maker

Package Overview
Dependencies
66
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @sava-info-systems/api-maker

๐Ÿš€ API Makerยฎ โ€” New ora of backend begins... [Complete backend development solution]


Version published
Weekly downloads
168
increased by69.7%
Maintainers
1
Created
Weekly downloads
ย 

Readme

Source
Poster Image

API Makerยฎ - New era of backend begins...

๐Ÿ† World's No.1 backend API generation & development solution. ๐Ÿ†


๐Ÿ‘‰ API Maker makes backend development super simple.
๐Ÿ‘‰ Provide database connection string & it will generate powerful APIs in just single click for all tables/collections.
๐Ÿšš๏ธ Deliver projects before deadline & robust & secure & easy to maintain.


๐Ÿ™ Friendly Request

๐Ÿ’ž Dear Friend,
๐Ÿ‘‰ Please help us to spread it, around the world ๐ŸŒŽ.
๐Ÿ‘‰ Small Tweet & Post will encourage us to keep working hard and keep improving API Maker.
๐Ÿ‘‰ We kindly request this as a token of appreciation, and it also helps us understand that our API Maker is being utilized.
๐Ÿ‘‰ Thank you for being part of this amazing community & journey.
๐Ÿ˜Ž You are awesome, Thank you so much in advance...


โœจ Features

๐ŸŽฆ Quick Trailer


๐Ÿ› ๏ธ Install Prerequisite Dependencies

๐Ÿ”— Useful Resources

๐Ÿ“ฝ๏ธ Installation Videos

๐Ÿš€ Start API Maker Backend

nvm use 18
mkdir -p ~/projects/sava_api_maker
mkdir -p ~/logs
cd ~/projects/sava_api_maker
npm init -y
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

# โญ๏ธ Print below file for commands & help in below steps
cat ~/projects/sava_api_maker/node_modules/@sava-info-systems/api-maker/assets-deployment/installation_steps.sh
# โœ… Install MongoDB 6 in replica set
# โœ… Install Redis 7
# โœ… Modify .env/package.json file and set MongoDB & Redis endpoints in it, sample .env file is given below
# โœ… Set Oracle Client in your path if you are going to connect to oracle database.

# Set some params from .env/package.json to admin panel frontend in dist folder
~/projects/sava_api_maker/node_modules/@sava-info-systems/api-maker
npm run set-env-in-fe

# Start API Maker backend service.
node main.js

๐Ÿš€ Start API Maker Admin Frontend

# Goto installation directory of project
nvm use 18
npm install -g local-web-server@5.3.0
cd ~/projects/sava_api_maker/node_modules/@sava-info-systems/api-maker/dist
# Serve static content of dist folder
ws --spa index.html --port 4626

๐Ÿ–ฅ๏ธ Minimum Server Requirement

1 CPU Core
1 GB RAM
20 GB Storage

๐‚ Sample .env

# You can set environment variables in this file to override package.json "am" object values.
# Docs Link : https://www.npmjs.com/package/dotenv/v/16.0.3

# Do not remove below environment variables.
NODE_PRESERVE_SYMLINKS=1
NODE_ENV=production

# API Maker admin panel frontend will try to connect to backend on this host and "am__port" will be appended automatically.
HOST="http://127.0.0.1" # http://127.0.0.1 or https://example.com

# Required environment variables. You can set them in package.json also and remove from here.
am__serverName="server1" # To go inside the object in package.json am, you can use "__" double underscore.
am__processTitle="api_maker_be"
am__port="38246" # ๐Ÿ‘ˆ API Maker backend will start on this port
am__wsPort="801" # ๐Ÿ‘ˆ API Maker WebSocket server will start on this port
am__cpuCount=1

#                                  __mongo_user__     __mongo_pass__         __mongo_port__
#        MONGODB                      ๐Ÿ‘‡(user)           ๐Ÿ‘‡(pass)   ๐Ÿ‘‡(IP)   ๐Ÿ‘‡(port)
am__mongo_db_connection="mongodb://mongo_user:SLUFZ5ufe_hAzyRd3aLA@127.0.0.1:38248/api_maker_db?authSource=admin&replicaSet=rs0&directConnection=true" # ๐Ÿ‘ˆ Set this

am__passJWT="syamoyfmtjlfxsrlotgzyhhepddmifts" # ๐Ÿ‘ˆ Set this random
am__passDBEncryptDecrypt="syamoyfmtjlfxsrlotgzyhhepddmifts" # ๐Ÿ‘ˆ Set this random

#                                 __redis_port__                      __redis_pass__
#                                   ๐Ÿ‘‡(port)       ๐Ÿ‘‡(IP)                  ๐Ÿ‘‡(pass)
am__redisInternal='{"nodes": [{port:7479, host:"127.0.0.1", pass: "eUtRxLomuV__rj4KEsb7"}]}' # ๐Ÿ‘ˆ Set this


# ๐Ÿ‘‡ Below is external redis value. You can remove it, you can set it from root user settings.
am__redisExternal='{"nodes": [{port:7479, host:"127.0.0.1", pass: "eUtRxLomuV__rj4KEsb7"}], redisValueExpireInSeconds: 7200, maxCharsResToCache: 1000000}'


# ๐Ÿ‘‡ Below is mongodb logs connection value. You can remove it, you can set it from root user settings.
#                                           __mongo_user__  __mongo_pass__             __mongo_port__
#                                               ๐Ÿ‘‡(user)    ๐Ÿ‘‡(pass)            ๐Ÿ‘‡(IP)  ๐Ÿ‘‡(port)
am__logs__mongo_db_connection_logs="mongodb://mongo_user:SLUFZ5ufe_hAzyRd3aLA@127.0.0.1:38248/api_maker_logs?authSource=admin&replicaSet=rs0&directConnection=true"


# ๐Ÿ‘‡ Automatically set from download. โš ๏ธTake it from downloaded api_maker_be
am__passCommunication="Homi2F4jPxd__hsLdcse"

package.json Configurations In More Detail

https://docs.apimaker.dev/v1/docs/am-resources/package-json-configurations.html

๐Ÿ™ Special Thanks To ๐Ÿ™




Keywords

FAQs

Last updated on 12 Dec 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc