Skip to content

mp051998/real-estate-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real Estate Backend

This is the backend server for the Real Estate application.

Prerequisites

Before running the server, make sure you have the following installed:

  • Node.js (version 18 or higher)
  • npm (Node Package Manager)

Installation

  1. Clone the repository:
git clone https://github.com/mp051998/real-estate-backend.git
  1. Navigate to the project directory:
cd real-estate-backend
  1. Install the dependencies:
npm install
  1. Setup NVM

    nvm install 18.19.0
    nvm use 18.19.0

Configuration

Before running the server, you need to configure the .env file Add the following mandatory key value pairs to the .env file:

MONGODB_CONNECTION_URI=<MongoDB URI>
MONGODB_DATABASE_NAME=<MongoDB Database Name> # 'real-estate-master'

Build the Project

To build the project, run the following command:

npm run build

Running the Server

To start the server, run the following command:

npm start

About

Backend express server for real-estate-viewer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published