https://github.com/ambrosegithub/hello-rails-back-end
https://github.com/ambrosegithub/hello-rails-back-end
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ambrosegithub/hello-rails-back-end
- Owner: Ambrosegithub
- Created: 2022-11-30T15:00:49.000Z (about 3 years ago)
- Default Branch: dev-branch
- Last Pushed: 2022-12-13T10:04:06.000Z (about 3 years ago)
- Last Synced: 2025-02-02T10:30:04.283Z (about 1 year ago)
- Language: Ruby
- Size: 31.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BUDGET APP
Hello_Rails_App is a ruby on rails web application to send warmth greetings at random each time the browser reloads
## Built With
- Ruby
- Rails
- Postgresql
- Linters
### Key Features
- [API endpoint]
- [Greeting link]
- [Functionality to Generate a random greetings messages with api end point ]
# Live Presentation link
- Link to front end repo
- [Front-end repo](https://github.com/anasbassi/hello-react-front-end)
[Live Link](not deployed yet)
## Getting Started
-To get a local copy up and running follow these simple example steps.
### Prerequisites
- A Command Line Interface.
- Having Ruby installed.
- Setup Rails
- Postgresql
- A code editor like Visual Studio Clone.
- Git installed.
-
To check if you have Git, Postgres and Ruby installed you can use the commands below:
```sh
$ git --version
$ ruby --version && irb
```
If you don't have Ruby, you can find a complete list of ways to install Ruby, including using third-party tools like rvm, see:
(https://www.ruby-lang.org/en/downloads/)
### 🛠️ Installation & Set Up
If you installed git you can clone the code to your machine, or download a ZIP of all the files directly.
- Open the [Repository Link](https://github.com/Ambrosegithub/hello-rails-back-end) of this project in GitHub.
- Once the files are on your machine, open capstone-ruby folder in [Visual Studio Code](https://code.visualstudio.com/).
### Install
Start by cloning the repository.
- git@github.com:Ambrosegithub/hello-rails-back-end.git
Navigate to the created folder.
- Initialize your project with Git.
- Make sure that your project has Postgres database set up.
- Run rails server and visit http://127.0.0.1:3000/ in your browser!
### run the following in your terminal:
- gem install rails
- gem install pg
- bundle install (use this whenever you want add a gem in your gem file)
- rails db:create
- change your database password to suit yours in database.yml
### Usage
--Once you have your repository cloned on your machine, feel free to modify it as needed.
- To add your own page
### Testing with Rspec and Capybara
- In your terminal run >
bundle exec rspec
- run rspec spec
## Author(s)
👤 **Isigba Ambrose**
- GitHub: [@Ambrosegithub](https://github.com/Ambrosegithub)
- Twitter: [@Glorious12](https://twitter.com/Glorious851)
- LinkedIn: [Ambrose Isigba](https://www.linkedin.com/in/ambrose-isigba/)
## 🤝 Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](https://github.com/Ambrosegithub/hello-rails-back-end/issues).
## Show your support
Give a ⭐ if you like this project!
## Acknowledgments
-Hat tip to all documentations used
-Inspiration
## ❓ FAQ
#### [Question_1] Do I need to have a program to manage the database.
##### [Answer_1] Yes you need postgesql or sqllite ,check installation online.
#### [Question_2] Can I access the owner database .
##### [Answer_2]No because its on their local database .
## 📝 License
This project is MIT licensed.