This is a simple web app that allows movie lovers around the world to come to our platform and checkout the latest and highest rated films. A user is able to to log into the plaform, view the latest titles and reviews/comments on the movies left by other users who have watched them before. A user is also able to post a review, update and delete it. This is a line that was edited in git and we intend to push it to github. The error is corrected
- Ruby 2.7.6
- Bundle
- Rails
- NodeJS (v16), and npm
- Start by cloning the repository to your computer from https://github.com/JosephNjeruNjenga/movie-forum
- Verify which version of Ruby you're running by entering this in the terminal:
$ ruby -v
We recommend version 2.7.6. If you need to upgrade you can install it using rvm:
$ rvm install 2.7.6 --default
You should also install the latest versions of bundler
and rails
:
$ gem install bundler
$ gem install rails
Verify you are running a recent version of Node with:
node -v
If your Node version is not 16.x.x, install it and set it as the current and default version with:
nvm install 16
nvm use 16
nvm alias default 16
You can also update your npm version with:
npm i -g npm
- When you're ready to start running the backend server, run:
rails server
- Run the following commands to get started with the database:
bundle i
rails db:migrate
rails db:seed
- When you're ready to start building your project, run:
npm install --prefix client
npm install @mui/material @emotion/react @emotion/styled --prefix client
npm start --prefix client
-
rails s
: run the backend on http://localhost:3000 -
npm start --prefix client
: run the frontend on http://localhost:4000 -
Open the project using your preferred code editor, preferably Visual studio to inspect the code.
- Frontend- http://localhost:4000
- Backend- http://localhost:3000
There are no known bugs in this project.
- HTML
- CSS
- Javascript
- React
- Ruby
- Ruby on rails.
- abdulaziz.abdullahi@student.moringaschool.com
- joseph.njenga@student.moringaschool.com
- ivan.nguyo@student.moringaschool.com
- barbra.mududa@student.moringaschool.com
- jeremiah.kungu@student.moringaschool.com
This project is under 5AA0 MIT license.
- Joseph Njenga
- Abdulaziz Abdullahi
- Barbra Mududa
- Ivan Nguyo
- Jeremiah Kungu