An application designed to simplify the process of renting and leasing properties in Haiti.
- Backend Framework: AdonisJs
- Database: PostgreSQL
- File Storage: Cloudflare R2
- Containerization: Docker, Traefik
- User authentication and management
- Property listings with photos and descriptions
- Message system for user communication
- Advanced search and filtering for properties
- User reviews and ratings for properties
- Favorites management
Before you begin, ensure you have the following installed:
- Node.js (v14.x or higher)
- npm (v6.x or higher)
- PostgreSQL
- Optional (for Docker setup): Docker
-
Clone the repository:
https://github.com/pwopryo/pwopryo-api.git cd pwopryo-api
-
Install dependencies:
npm install
-
Set up environment variables: Create a
.env
file in the root directory and add your database and other configuration details. -
Run database migrations and Seed data:
node ace migration:run node ace db:seed
-
Start the AdonisJs server:
npm run dev
-
The API will be available at
http://localhost:3333
.
-
Ensure Docker is installed.
-
Build and start the containers:
docker-compose up --build
- The API will be available at http://localhost:3333.