Skip to content

kiwavi/loan_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

32 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ’ฐ Loan Management System

This is a simple Loan Management System built using Express.js, PostgreSQL, and Prisma ORM.


๐Ÿš€ Getting Started

Follow these steps to get the app up and running:

# 1. Clone the repository
git clone https://github.com/kiwavi/loan_app.git
cd loan_app

# 2. Install dependencies
npm install

# 3. Create a .env file in the root folder
touch .env

# 4. Add the following environment variables to .env
# (Replace with your actual credentials)
PORT=3000
DATABASE_URL=postgresql://postgres:yourpassword@127.0.0.1:5432/yourdbname?schema=public

# (Paste this to .env)
# This was inserted by `prisma init`:
[object Promise]

# 5. Initialize the database with Prisma
npx prisma migrate dev --name init

# 6. Start the application
node server.js

About

Basic Loan Management System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published