An open API service indexing awesome lists of open source software.

https://github.com/mahammad-mostafa/hello-rails-back-end

This is the second project in the full stack capstone of the Microverse program. It is an exercise for using Ruby on Rails as a backend API for a simple page app.
https://github.com/mahammad-mostafa/hello-rails-back-end

api backend-api gitflow-workflow json-api microverse microverse-projects microverse-students mvc-framework object-oriented-programming postgresql rails rails-api rubocop ruby ruby-on-rails

Last synced: 3 months ago
JSON representation

This is the second project in the full stack capstone of the Microverse program. It is an exercise for using Ruby on Rails as a backend API for a simple page app.

Awesome Lists containing this project

README

        

# 🏷️ Hello Rails Back End

This is the second project in the full stack capstone module in the **Microverse** program.


Check the below contents for further details about this project.

# 📗 Contents

- [Description](#description)
- [Instructions](#instructions)
- [Authors](#authors)
- [Future](#future)
- [Contributions](#contributions)
- [Support](#support)
- [Acknowledgements](#acknowledgements)
- [License](#license)

# 📖 Description

This repository is about a simple greeting text in a single page.
It includes the backend section of the app where it uses `Rails` with `API` configuration.
It also connects with `PostgreSQL` database & follows the `GitFlow` workflow.
Linter used for `Ruby` is `Rubocop`.


Frontend section is located in this [repository](https://github.com/mahammad-mostafa/hello-react-front-end).

📌 **Tech Stack:**
- Backend language is `Ruby`
- Backend Framework used is `Rails`
- Database used is `PostgreSQL`

📌 **Key Features:**
- Backend for a single page application
- Random text generation on each call
- API endpoint with `json` output

back to top

# 🛠️ Instructions

You can easily download or fork this repository and work on it immadiately!

📌 **Prerequisites:**
- `Ruby` language
- `PostgreSQL` database

📌 **Installation:**
- To get all required gem dependencies run
```
bundle install
```
- Create all required databases with
```
rails db:create
```
- Build all table schemas with
```
rails db:migrate
```
- Populate table data with
```
rails db:seed
```

📌 **Development:**
- Run backend server using
```
rails server
```
- Manipulate & process models data through
```
rails console
```

back to top

# 👥 Authors

📌 **Mahammad:**
- [GitHub](https://github.com/mahammad-mostafa)
- [Twitter](https://twitter.com/mahammad_mostfa)
- [LinkedIn](https://linkedin.com/in/mahammad-mostafa)

back to top

# 🔭 Future

Some additional features I may implement in the project:
- [ ] Implement proper user authentication
- [ ] Add endpoints for `CRUD` operations

back to top

# 🤝🏻 Contributions

Wish to contribute to this project?


Contributions, issues, and feature requests are more than welcome!


Feel free to check the [issues](../../issues) page too.

back to top

# ⭐️ Support

Like this project? Show your support by starring!

back to top

# 🙏🏻 Acknowledgements

I thank everyone at **Microverse** for guiding me through this project.

back to top

# 📝 License

This project is [MIT](LICENSE.md) licensed.

back to top