mjesar / Todo-React-webapp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Initial directory setup

  1. Create directory called todo
mkdir todo
  1. Clone rails backend project inside todo directory
https://github.com/mjesar/Rails-6-Todo-API
  1. Clone react todo web app in same directory
https://github.com/mjesar/Todo-React-webapp

Running projects

Now assuming you are in todo-lab directory

  1. Install gems in backend
bundle install
  1. setup database
rails db:migrate
  1. Run backend
rails s
  1. then run frontend app so it will choose its port 3001
npm install
  1. Now open local app (http://localhost:3000) for backend

    and for frontend (http://localhost:3001)

  2. To run all rspec tests

bundle exec rspec .

About


Languages

Language:JavaScript 86.9%Language:CSS 6.7%Language:HTML 6.4%