Skip to content

sheylaPozo/hello-railsreact

Repository files navigation

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


Microverse app

                           --------------------------- 
                           |      Hello world         |
                           ----------------------------

A monolithic approach to using rails and react.

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_railsreact -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:

👤 Sheyla Pozo 🤍


🤝 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

A monolithic approach to using rails and react

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published