This project is a simple setup of react and rails. React is used for the frontend and rails for the backend api.
- React-Rails
-
To get a local copy of the repository please run the following commands on your terminal:
git clone https://github.com/mmsesay/hello-rails-react.git
cd hello-rails-react
bundle install
to couple all dependaciesnpm install
to install all node packages
-
Make sure you do have a database installed locally (Postgresql or any other)
- After cloning the project:
- Goto
config
directory - Open the
database.yml
file - Swap the
username
andpassword
on line27 & 28
to match your database credentials
- Goto
- After cloning the project:
-
Run the application ** Please run both commands on separate terminals **
./bin/webpack-dev-server
to start the react applicationrails s
to start the rails application
👤 Muhammad Sesay
- GitHub: @mmsesay
- Twitter: @DeeMaejor
- LinkedIn: LinkedIn
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Microverse for the readme template