In this lesson, we created two Rails APIs to hold our data for Nintendo product platforms (product_api) and comments on those platforms (comment_api). We then created a very basic front-end Angular web application that uses those APIs for the back-end.
Links for all repos for this project:
Instructions for running locally (after bundling then migrating and seeding the databases for both Rails apps):
- Run your products_api server normally on localhost:3000 (
rails s
). - Run your comments_api server on localhost:9000 (
rails s -p 9000
). - Start your angular_nintendo_app server by running
node server.js
. - Navigate to localhost:8000 to see the results!
You can use Postman to post additional comments for a product on localhost:9000.
The lessons for this project were originally written by Colin Lacy and can be found here: