Giter VIP home page Giter VIP logo

roomscout's Introduction

RoomScout

The site has been taken down as a result of covid-19 and facebooks new roommate features in marketplace.

Uptime Robot ratio (30 days) DeepSource

RoomScout is a one stop shop for finding and managing roommates

Setup

  1. Download repo
  2. Install pip requirements using pip install -r requirements.txt
  3. Setup environment variables
  4. Start django local server using python manage.py runserver

Environment Variables

Settings for the application are now loaded from environment variables even in development environment, you can also use a local_settings.py file to load settings easier. An example of this file format is in Resources folder

SECRET_KEY : Required
GOOGLE_API_KEY : Optional for google maps
RECAPTCHA_PUBLIC_KEY : Optional for captcha
RECAPTCHA_PRIVATE_KEY : Optional for captcha
AWS_ACCESS_KEY_ID : Optional for S3 Storage and Rekognition
AWS_SECRET_ACCESS_KEY : Optional for S3 Storage and Rekognition
WALK_SCORE_API : Optional for Walk Score
EMAIL_HOST : Optional for email
EMAIL_HOST_USER : Optional for email
EMAIL_HOST_PASSWORD : Optional for email
STRIPE_KEY : Optional for stripe transactions
STRIPE_SECRET_KEY : Optional for stripe transactions

Branches

Master

https://roomscout.ca
Deploys directly to production upon commit

Dev

https://roomscout-dev.herokuapp.com
Deploys directly to development server

All Other

Any other branch should be a feature branch
All feature branches should make pull requests into dev and then once approved the dev branch will be merged to master

Testing

All code that is pushed should have tests included for it, if tests are not present it is something that can be done by anyone

Forms

Views

This is the basic format that tests for views should follow

def test_FUNCTION_get(self):
	print('Testing FUNCTION() GET')
	self.client.force_login(self.user)


def test_FUNCTION_get_not_logged_in(self):
	print('Testing FUNCTION() GET not logged in')
	self.client.logout()


def test_FUNCTION_get_wrong_user(self):
	print('Testing FUNCTION() GET wrong user')
	self.client.force_login(self.user2)


def test_FUNCTION_post(self):
	print('Testing FUNCTION() POST')
	self.client.force_login(self.user)


def test_FUNCTION_post_not_logged_in(self):
	print('Testing FUNCTION() POST not logged in')
	self.client.logout()


def test_FUNCTION_post_wrong_user(self):
	print('Testing FUNCTION() POST wrong user}')
	self.client.force_login(self.user2)

Models

roomscout's People

Contributors

aaronspindler avatar dependabot[bot] avatar imgbotapp avatar josylad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

roomscout's Issues

Add functionality to leave a house

This should be fairly straightforward, just make an endpoint that:
checks if user is trying to remove themselves
then make them confirm
then finally remove them as a member from the house

Javascript Room Like POST

I am trying to get the room like javascript functions to use POST instead of GET but I can't figure it out.

I am trying to convert it to this format

Securely store bill files, either store files in DB encoded or somehow use keys with S3

Need to find a way to securely store users sensitive information such as bills that contain their full name, address, and account information.

Thinking that this can be accomplished by encoding the files into text and then storing the text in a database, or saving the files on S3 Private and then using tokens in URL to allow user to view the file.

Make settings more streamlined

The goal is to have dev and production setting stay in the same settings file and then in dev environment the settings can be read from local_settings and production settings can be loaded with environment variables

User Verification and Validation

Gather information about user such as:
Credit Score
History of all Debt
List of all closed and open credit accounts
List of liens, judgements, etc
List of previous primary residence
Criminal record including speeding tickets

Services that can be used Naborly, Veriff

Change bill add to use a form

Change bill add feature to use a django form, this will be useful to be able to add multiple bills at the same time easily

Fix Address Not Working With Create House

Example: 22245 Fredericton Place, St. John's, NL, Canada

For some reason the house number and postal code don't fill in when this address is inputted but 225 Fredericton Place, St. John's, NL, Canada works

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.