================================================================================
PESACAST SETUP GUIDE
================================================================================
PREREQUISITES
——————————————————————————–
* Node.js (v18 or higher recommended)
* npm, yarn, or pnpm
* Git installed
STEP 1: CLONE THE REPOSITORY
——————————————————————————–
Open your terminal and run:
git clone https://github.com/davidamunga/pesacast.git
cd pesacast
STEP 2: INSTALL DEPENDENCIES
——————————————————————————–
Run one of the following commands:
npm install
# or
yarn install
STEP 3: CONFIGURE ENVIRONMENT VARIABLES
——————————————————————————–
Copy the template configuration file:
cp .env.example .env
Open the `.env` file in your text editor and fill in your details:
* Webhook URLs
* Database connection string
* M-Pesa API credentials / Sandbox keys
* Server Port
STEP 4: INITIALIZE DATABASE (IF APPLICABLE)
——————————————————————————–
If the project relies on a database schema (e.g., Prisma/SQLite):
npm run db:push
# or
npx prisma db push
STEP 5: START THE DEVELOPMENT SERVER
——————————————————————————–
Launch the application locally:
npm run dev
Access the running server via your browser or API client:
http://localhost:3000 (or http://localhost:5000 based on your .env)
================================================================================
Reviews
There are no reviews yet.