Funny Movies is a web application that allows users to share YouTube videos with each other. Users can add videos by pasting a YouTube URL into a form, and other users can view and rate those videos.
Funny Movies is built using the following technologies:
- React.js for the front-end
- Ruby on Rails for the back-end
- PostgreSQL for the database
To install and run Funny Movies, follow these steps:
- Clone the repository to your local machine.
- Install the necessary dependencies by running
npm install
in the root directory andbundle install
in the root directory. - Create a new PostgreSQL database by running
rails db:create
. - Run the database migrations by running
rails db:migrate
. - Copy env.example to .env and config with your setting.
- Start the Rails server by running
rails s
. - Start the React development server by running
npm start
in the root directory. - Navigate to
http://localhost:3001
in your web browser to use the application.
- Users can add YouTube videos to the application by pasting in a URL.
- Videos are displayed on the home page along with the title, uploader, and a short description.
- Users can view videos in a player embedded in the page.
- The most recently added videos are displayed on the home page.
If you would like to contribute to Funny Movies, please fork the repository and submit a pull request. Please follow the project's coding style and conventions, and write unit tests for any new functionality.
Funny Movies is released under the MIT License.