Skip to content

AbrahaKahsay/hello-rails-back-end

Repository files navigation

Hello rails back end

  • Now that you're familiar with Rails and React, it's time to put them together in a new kind of 'Hello World!' app. This exercise is going to have you create a React front-end with a Rails back-end and connect them to display a random message
  • Get the react-front-end from (https://github.com/AbrahaKahsay/hello-react-front-end.git)

Built With 🛠️

  • Major languages: Ruby
  • Frameworks: Ruby on Rails
  • Technologies used: Rubocop, gem, Postgresql

Setup

To use this project:

Create, drop and, reset a database

  • rails db:create
  • rails db:drop
  • rails db:reset

Starting up the webserver

  • rails s -p 3001 (for rails)
  • npm start (for react)

Generate schema

  • rails db:migrate

Generate model and controller specs

-rails generate rspec:model ModelName -rails generate rspec:controller ControllerName

Run specs or tests

  • bin/rails spec or rspec

Author ✍️ 👥

👨‍💻 Abraha Kahsay ✍️

🤝 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

  • Hat tip to anyone whose code was used
  • Microverse morning session and coding partner teams
  • etc

📝 License

This project is MIT licensed.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published