Skip to content

Latest commit

 

History

31 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ABAAS Web Application

Overview

ABAAS rents is a marketplace for rooms and apartments and basically any houses renting.

Screenshots

home page

profile page

vehicle list page

individual page

Setup Guide

Prerequisites

  • Node.js (v14 or later)
  • npm or yarn
  • PostgreSQL (or any other supported database)

Step-by-Step Setup

1. Clone the Repository

git clone https://github.com/yourusername/abaas.git
cd abaas

2. Setup Environment Variables

Create a .env file in both the server and client directories by copying the provided .env.example files.

cp server/.env.example server/.env
cp client/.env.example client/.env

3. Install Dependencies

Navigate to both the server and client directories and install the required dependencies.

cd server
npm install
cd ../client
npm install

4. Configure Database

Make sure your PostgreSQL server is running and create a new database. Update the database connection settings in the server/.env file.

5. Run Migrations

Navigate to the server directory and run the database migrations.

cd server
npx prisma migrate dev

6. Start the Development Servers

Start the backend server:

cd server
npm run dev

Start the frontend server:

cd client
npm start

7. Access the Application

Open your browser and navigate to http://localhost:3000 to access the frontend. The backend server will be running on http://localhost:5000.

Running with Docker

1. Clone the Repository

git clone https://github.com/yourusername/abaas.git
cd abaas

2. Setup Environment Variables

Create a .env file in both the server and client directories by copying the provided .env.example files.

cp server/.env.example server/.env
cp client/.env.example client/.env

3. Build and Run Docker Containers

Use Docker Compose to build and run the containers.

docker-compose up --build

4. Access the Application

Open your browser and navigate to http://localhost:5173 to access the frontend. The backend server will be running on http://localhost:3000.

About

abaas is a marketplace where you can place your rooms for rent and people in search come to and rent the rooms listed here.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages