Skip to content

usmansbk/hello-rails-react

Repository files navigation

Set up a "Hello world" project with rails-react gem

Microverse

A monolithic approach to using rails and react

screenshot

Built With

  • Ruby on Rails
  • PostgreSQL
  • React

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

Setup

  • Make sure you have Ruby on Rails set up properly on your computer
  • Clone or download this repo on your machine
  • Enter project directory

Install

bundle install

# Install JS dependencies
yarn

Database

# Create user
sudo -u postgres createuser hello_rails_react -s

# Create the database
rails db:create

## Apply migration
rails db:migrate

# Seed database with 5 greetings
rails db:seed

Run

rails s

Troubleshoot

### Undo migration
rake db:migrate VERSION=0

Author

👤 Usman

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Microverse

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published