Random Greet is Ruby on Rails
based project
Random greet is a app which give random greeting each time it reload
In this project we utilize our skills and knowledge to create this project
Project language
FrameWork
DataBase
- Random Greet
- Render With React
To get a local copy up and running, follow these steps.
In order to run this project you need:
- Ruby installed in your machine
- Ruby on Rails installed in your machine
- Postgres installed and all password and user being setup
- Any integrated terminal like
- CMD
- Bash
- PowerShell
- etc
Clone this repository to your desired folder:
for cloning follow this steps
- go to green
code
button very top left corner of this Repository container - copy your
SSH
orhttps
file and clone it in your desired folder - or just download
ZIP
file - Change UserName and Password with yours in database.yml file
Install this project with:
for now you don't need any installation to run project if you already followed Prerequisites
and
bundle install
npm install
To run the project, execute the following command:
you can use it for you library purpose
run following commands in you terminal
in root dir
and if you open http://localhost:3000/ you can see App running
and API route ' http://localhost:3000/api/v1/greetings'
rails s
To run tests, run the following command:
rspec spec
And for Linters
rubocop . //=> for ruby file linting
npx stylelint "**/*.{css,scss}" //=> for CSS or SASS file linting
-A
and --fix
for auto fixing respectively
๐ค Adarsh Pathak
- GitHub: @PowerLevel9000
- Twitter: @PowerLevel9002
- LinkedIn: Adarsh pathak
- Styling of various webpage
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project please give it star or buy me a coffee
I would like to thank microverse to give this opportunity to show up my skills
and the Ruby on rails docs
This project is GPL-3.0 licensed.