Music Collaboration and Posting site for musicians and artists
This is an online app, sort of lie craigslist, which people can post wanted add for musicians, items or even shows. People intending to post, can create a user account and profile which then can be used to interact with the site and create, delete, post and edit posts.
Link to App- Heroku
Link to Trello - Trello
Mongo needs to be installed, computer needs to be able to run Ruby as well as SQl since the database is running in SQl
-
open heroku website Heroku
-
Create user by clicking on the create profile link
-
Submit the correct fields
-
Profile creation fields will redirect to index pages
-
Browse listings and or create a listing
-
To create a listing - click on post to board
-
Listing fields will open, and populate and submit to the index page
-
To view your listings go to the edit profile page and you will have a list of various listings you have created at the bottom of your page
- Perform a Bundle Install to get all applicable Gems needed.
- Perform rake db:create, rake db:migrate, and rake db:seed.
- To view the app, perform rails s and visit localhost:3000 in your web browser
As usual, create the user and then use the app to create a profile and posts
- MVC model (Model, View, Conroller)
- Html
- SQL for database managment
- Ruby - Programming language
- Ruby on rails - Frame work
- Heroku - host for test website
- Chrome browser - testing and debugging
- Sublime - for code creation
- MacDown - for mark down readme
-- Table Structure as follows Users -> Userlistings Users have many Userlistings Userlistings belong to a user
|table "users" | --- | --- | --- t.string "name"| t.string "location"| t.string "sex"| t.string "phone_number"| t.string "email"| t.string "website"| t.string "fblink"| t.string "sclink"| t.string "twlink"|
table "userlistings" | --- | --- | --- t.string "title"| t.string "details"| t.string "location"| t.float "pay"| t.string "email"| t.integer "user_id"| t.string "category"| t.boolean "hide"|
- Ilya Osovets -- ilya0
##Code run down
- two models are created
- Users - this is the list of people
- Userlistings - listings are creation of listings from these people
- Users has 4 views and a form - show, new, index, edit
- Userlisting has 4 views and form - userform, show, new, index and edit
- Each of these have corresponding controlllers
- controller methods include, show, new, index, edit,create, update, user and userlisting params
- Seeds - have a couple defined seeds and then also use the faker gem to spoof some of the users info
- Authentication is done through bcrypt gem and through sessions controller
- debugging was done with bye bug and rails c in terminal
##Unsolved problems, etc.
- needs description in profiles
- could use a beutified layout
- search functionality
- styling
