This is a sample product listing app built using AngularJS on the client side and a Rails API in the backend. With this app one can -
- Perform basic CRUD operations with respect to a product
One can try using the app wrt the work done so far on this link
- Ruby 2.2.2
- Rails 4.0.6
- Angular JS 1.2.19
- PostgreSQL 9.4.1
- For other dependecies, please check the Gemfile
- Clone the repo, and
cd
into the same - Run -
bundle install
cp config/database.yml.example config/database.yml
rake db:create
rake db:migrate
- From the project root directory run -
rake db:migrate RAILS_ENV=test
(this step assumes you've runrake db:create
already)
- From the project root directory run -
rails s
to kickstart your app web server- Navigate to
http://localhost:3000
in your browser
- From the project root directory -
- Use
bundle exec rspec
to run all your specs