/yup-schlepp

Internal inventory app for a real estate firm.

Primary LanguageJavaScriptMIT LicenseMIT

Yup Schlepp/ yup-schlepp

License: MIT

About / Synopsis

Yup Schlepp is the beginning of an intensive project revolving around the needs of your average NYC leasing agent. The goal is to build a full force CRM over time, specific to the needs of Yup Realty, LLC.

In our first version we present the ability to add and edit listings through their numerous data points spanning from data that corresponds to the landlord, building, unit, amenities, location, etc.

While we have the ability to delete from the database and our routes, we don't offer it through the UI. We chose to deliver the initial version this way with purpose. We don't encourage agents to remove listings from the database. Instead we encourage agents to mark the unit's status to show it's availability. Apartments come back on the market on a yearly basis and we want to offer ease of renewing listings with all of their corresponding data when units come back on the market.

Express server supports GET, POST, PUT, PATCH and DELETE requests.


Table of contents


Installation

  • Clone repo
  • Open integrated terminal on the root directory
  • Install dependencies :
npm i

Usage

authentication

Authentication

  • this is an internal application for Yup Realty LLC. Functionality is not accessible without authentication.

For Demoing:

email: agent@yupny.com
password: password

Views & Queries

views queries

  • The following query example will return all apartments within the price range of $1000 and $3000 in Bushwick with at least one bedroom, a balcony and permits pets:
http://127.0.0.1:8080/results/units/?unit[legal_beds=1]&unitAmenities[balcony]=true&unitAmenities[city_view]=true&building[neighborhood]=Bushwick&buildingAmenities[pets_allowed]=true&unit[__gte_gross_rent]=1000&unit[__lte_gross_rent]=3000

Add & Edit Listings

edit add

  • Add and edit listings in the database

Config

Configure .env.EXAMPLE

  • rename file to .env
DB_NAME=yup_db
DB_USER=<sql_username>
DB_PW=<sql_password>

// Cloudinary config

CLOUD_NAME=<cloudinary_account>
CLOUD_KEY=<cloudinary_key>
CLOUD_SECRET=<cloudinary_secret>

// Google API Key
GKEY=<google_API_key>


Schema

db directory holds schema.sql with script to create database in Workbench or from the command line.


Seed

seeds directory holds placeholder data to seed the database. Data can be changed to suit users needs or preference.

npm run seed

Start Server

npm start

for nodemon server.js:

npm run watch

Contributors

Yoni David

Tomek Regulski

Lauren Drew

Neil Creveling


Contact

Inquiries can be sent to info@yupny.com

Contributing / Issues


Contributing

  • Fork repo
  • Make additions and changes on new, personalized branch
  • Submit pull request

Reporting Issues

Report issues by selecting the issues tab and creating a new issue


Technologies

Licenses

This README file was built with README Generator

Copyright © 2021, Yup Realty, LLC