ucsb-cs56-webapps / ucsb-cs56-ride2school

Facebook Rideshare
MIT License
0 stars 4 forks source link

ucsb-cs56-ride2school

Facebook Rideshare

A rideshare group app.

website: https://ride2school.herokuapp.com/

MVP Web interface that displays feed of all ride postings User can post listings

User Stories User can access the website via URL User is shown a feed of all the posts User can scroll through a listing of posts

Set Up Information

For this project to work properly (or run at all), there must be proper setup with MongoDB, Mlab, and a env.sh file. Here are the steps to achieving this.

Part One create an MLAB account:

mongodb://<dbuser>:<dbpassword>@d<dbhost>/<dbname>

Part Two set up env.sh file:

touch env.sh
export USER_=<your user's username>
export PASS_=<your user's password>
export DB_NAME_=<your db name>
export HOST_=<your host name>
. env.sh

!!! IMPORTANT !!! You must run the following command in terminal every session. Without this there will be an error!

Using Heroku (optional, currently not working fix that for 100 pts)

If you are using heroku follow these steps:

  1. Go to your dashboard https://dashboard.heroku.com/apps/<project-name>/settings
  2. Click on Settings
  3. Click Reveal Config Vars inside the Config Vars menu
  4. Input your key value pairs for your config variables in the same way as the environment variables
USER_        <your user's username>
PASS_        <your user's password>
DB_NAME_     <your db name>
HOST_        <your host name>

Final Notes

Now your program should be up and running! If you did anything in this step wrong, there should be an error when running the project with debug information. Have fun and catch those rides!

M18 Final Remarks Hello! Welcome to Ride2School. The original vision for this project was to be able to scrape information from the various Facebook RideShare groups and condense it into one feed. As of now, we have an independent site that can post/request rides. Our database is set up to hold information on users and posts and the site has "Administrator view." Some things you may want to work on is creating user profiles and implementing a search feature. We do have one bug where posts will be accidentally deleted twice. An opportunity for refactoring is to word on the /edit page. Though it updates posts, it redirects to the wrong page. Good luck!