Welcome to the Simple Apartment Listing App! This repository contains the backend, frontend, and mobile application components of My Application.
The backend of My Application is built using NestJS, a progressive Node.js framework. It provides three API endpoints to perform various actions.
GET /apartments
: Retrieves a list of apartments.POST /apartments
: Creates a new apartment.GET /apartments/:id
: Retrieves a specific apartments by ID.
- Clone the repository.
- Navigate to the
backend
directory. - Install dependencies:
npm install
. - Run the server:
npm run start
.
The frontend of My Application is built using Nextjs, a React Framework.
- Clone the repository.
- Navigate to the
frontend
directory. - Install dependencies:
npm install
. - Add .env.local file
- Run the server:
npm run start
.
The mobile application of My Application is built using React Native, a framework for building native applications using React.
- Clone the repository.
- Navigate to the
mobile
directory. - Install dependencies:
npm install
. - Run the application:
npx react-native run-android
(for Android) ornpx react-native run-ios
(for iOS).
- Make sure to update the API endpoints in the frontend and mobile application to point to the correct backend URL.