RentNexis is a SaaS for rental property management designed to simplify the lives of landlords and tenants. This repository contains the backend code for the RentNexis project.
© 2024 Daniel Marques. All rights reserved.
This project is licensed under the terms of the End-User License Agreement (EULA). See the EULA file for details.
To set up the project locally, follow these steps:
-
Clone the repository
git clone https://github.com/yourusername/rentnexis-backend.git cd rentnexis-backend
-
Install dependencies
Make sure you have Node.js and npm installed. Then, install the required dependencies:
npm install
-
Create necessary configuration files
Some configuration files are ignored by git for security reasons. You will need to create them manually.
-
src/config/auth.config.js
Create a file at
src/config/auth.config.js
with the following content:module.exports = { secret: "rentnexis_secret_key", jwtExpiration: 3600, // 1 hour jwtRefreshExpiration: 86400, // 24 hours };
-
-
Run the application
Start the application using the following command:
npm start
-
Access the application
Open your browser and navigate to
http://localhost:3000
.
If you encounter any issues during the setup, please refer to the project's documentation or raise an issue on the GitHub repository.