The setups steps expect following tools installed on the system.
- Ruby 2.7.1
- Rails 6.0.2.2
- PostgreSQL: Download here
When you install everything, run the PostrgeSQL server.
git clone git@github.com:JoelAlayon123/Moovie-API.git; cd Moovie-APIRun the following commands to install the gems.
bundle installRun the following commands to create and setup the database.
bundle exec rake db:setupYou can start the rails server using the command given below.
bundle exec rails sAnd now you can visit the site with the URL http://localhost:3000
Run the following commands to run tests.
bundle exec rspecAnd you should receive:
196 examples, 0 failuresYou can see the documentation to see information on how to use it