A react-rails app to show greetings
- Ruby
- Ruby on Rails
- React
- PostgreSQL
To get a local copy up and running follow these simple example steps.
Make sure you have Ruby and Rails installed on your computer. If not, you can follow this tutorial to install them.
If you don't have PostgreSQL installed, you can follow this tutorial to install it.
If you don't have yarn installed, you can follow this tutorial to install it.
In your terminal, navigate to your current directory and run this code
git clone https://github.com/deyemiobaa/hello-react-rails-app.git
Then run
cd hello-react-rails-app
Open the project in your favorite code editor. code .
for VS Code.
- Use the command
bundle install
to install all project dependencies. - Run
yarn install
to install all the JavaScript dependencies. - Run
rails db:create db:migrate
to create the database and run migrations. - You might need to supply a username and password for your PostgreSQL database if you run into an error with the previous step.
- Run
rails db:seed
to seed the database with some sample data. - Simply navigate to
config/database.yml
and add your username and password to theusername
andpassword
fields. - Type in the terminal
./bin/dev
to start the server then click onhttp://127.0.0.1:5000
👤 IFZA Rasool
- GitHub: [@ifzarasool](https://github.com/IfzaRasool
- Twitter: @ifzaarain
- LinkedIn: [@ifza-arain]https://www.linkedin.com/in/ifza-arain/
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project is MIT licensed.