Hello rials Back-end Hello rails Back-end is an application that rails as an API.
So you want to lear more about the tech we have used for this project?
Server
Database
- Make use for migrations features from Active Record
- Include Tables for User, Categories and Transactions
- Include React
To get a local copy up and running, follow these steps. Note: We are assuming you have pre-installed ruby, WSL, ubuntu and rails!
In order to run this project you need:
first at all, install rails:
gem install rails
Clone this repository to your desired folder:
git clone https://github.com/najibullahjafari/hello-rails-back-end
Install this project with:
bundle install
Setting up the Data Base:
rails db:create
rails db:migrate
rails db:seed
To run the project, execute the following command:
rails server
Before running tests, ensure you've set up the test database:
bin/rails db:migrate RAILS_ENV=test
Note: Given that the aim of this project is to test the application's UI, to see if it works without side effects. We have therefore had to modify the contents of certain files, which could have the effect of falsifying certain Unit
tests.
We therefore recommend that, rather than running all the tests, you only test the features
folder.
bundle exec rspec ./spec/features
Install this project with:
cd hello-rails-back-end
bundle install
Setting up the Data Base:
rails db:create
rails db:migrate
rails db:seed
👤 Najibullah Jafari
- GitHub: Najibullah_jafari
- Twitter: Najibullah_jafari
- LinkedIn: Najibullah_jafari
We this project can improve, we are planning to include the next features soon:
- User Interface
- Validations
- API documentation
- Model Data
- Controllers Testing
- Models Testing
- View Implementation
- User Interface
- Validations
- API documentation
- Model Data
- Controllers Testing
- Models Testing
- View Implementation
- Integration Testing
- Unit Testing
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Would you like to help?
If you like this project feel free to leave an star, as well if you have a suggestion feel free to visit issues page.
I would like to thank Microverse.
Learn more about FAQ below:
-
How do I fix Linters errors if I modify the project?
- for rubocop run
rubocop -A
- for Stylint run:
npx stylelint "**/*.{css,scss}" --fix
This project is MIT licensed.