Skip to content

MicroprocessDev/WAPICron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WAPI-Cron

Requirements

  • NodeJS version 14.5.0 or higher

Installation

  1. Download or clone this repo. If you want to skip the build step, you can download the prebuilt one (file with the wapicron-VERSION.tgz name pattern) from the release page
  2. Enter to the project directory
  3. Install the dependencies
npm install

Setup

  1. Copy the .env.example file and rename it into .env, then update your [connection url] in the DATABASE_URL field

.env Configurations

# Listening Host
HOST="localhost"

# Listening Port
PORT="3000"

# Database Connection URL
DATABASE_URL="mysql://root:12345@localhost:3306/baileys_api"

# Host WAPI
HOSTWAPI="http://0.0.0.0:3000"

Usage

  1. Make sure you have completed the Installation and Setup step
  2. You can then start the app using the start script
npm run start

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published