Skip to content
프로젝트

eevan7a9/real-estate-management

GitHub에서 보기

소개

Real estate and physical property management to connect property managers and potential buyers.

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

GitHub Repo stars License

real-estate-management

A web and mobile property management solution built with Ionic, Angular and Nodejs Fastify. Designed for managing residential, commercial, and land properties the app allows users to explore available estates via an interactive map and directly send inquiries to property owners.

🚧 frontend/ work in progress 🚧.

🚧 backend-fastify/ work in progress 🚧.

LIVE WEB PREVIEW

🎨 Themes

📱 Android (Pixel 7)

💻 Desktop Browser

☀️ Light Theme

🌙 Dark Theme

🗃️ Dependencies

Frontend

Backend

🧑‍💻 SETUP

Frontend web setup

1.1 navigate to frontend/ directory.

#  navigate to frontend
$ cd frontend

1.2 Configure environment variables

Copy the frontend template to a local .env file:

cp .env.example .env

For a production build, create a separate production configuration:

cp .env.example .env.production

Required values:

API_SERVER=http://localhost:8000/
WEBSOCKET_URL=ws://localhost:8000/websocket

Optional browser-visible values include:

GOOGLE_AUTH_CLIENT_ID=

MAP_KEY=
MAP_TILES_DEFAULT=https://tile.openstreetmap.org/{z}/{x}/{y}.png
MAP_TILES_DARK=https://tile.openstreetmap.org/{z}/{x}/{y}.png

RESTRICTED_MODE=false
RESTRICTED_HEADING=Restricted
RESTRICTED_MESSAGE=This feature is currently disabled in this mode.

.env and .env.production are ignored by Git. Do not put server secrets in them: their values are compiled into the browser application.

2. Install dependencies

npm install

3. Run the frontend

ionic serve

ionic serve reads .env and generates src/environments/environment.generated.ts before starting Angular. After changing .env, stop and start ionic serve again.

4. Build the frontend

# Development build using .env
npm run build:development

# Production build using .env.production
npm run build

All frontend environment values are browser-visible at runtime. Keep credentials and other secrets on the backend.

Tailwindcss Build Styles

# Build to Generate styles
$ npm run tailwind:build

# Build to Generate styles & Watch
$ npm run tailwind:watch

📱 Android setup

sync any chages from web to android:

npx cap sync android

If Android is not available (Optional)

npx cap add android

run to open Android Studio

npx cap open android

To run the project on Emulator or Device (Alternative)

npx cap run android

Backend-Fastify setup

1.1 navigate to backend-fastify/ directory.

cd backend-fastify/

1.2 create .env file & add variables:

  • copy .env.example & re-name it to .env
  • set your desired variable value
PORT=8000
LOGGER=true
SALT=12
SECRET_KEY='secret'
DB_CONNECT=mongodb://localhost:27017/rem-db

2. then install dependencies & run dev

In terminal - command

#  navigate to backend-fastify
$ cd backend-fastify

# install dependencies
$ npm install

# start server
$ npm start `or` $ npm run dev

2.1 Database seeder(optional)

  • Make sure .env is configured & dependencies are installed
  • Will populate database with dummy data.

⚠️ This will delete existing records in the database document.

⚠️ Make a backup if needed

$ npm run db:seeder

dummy user:

  fullName: "test tester",
  email: "[email protected]",
  password: "password"

  You can use this to signin.

Routes

/docs/
/users/
/auth/
/properties/
/enquiries/

관련 프로젝트 살펴보기

불러오는 중…