- 📖 About the Project
- 💻 Getting Started
- 👥 Authors
- 🔭 Future Features
- 🤝 Contributing
- ⭐️ Show your support
- 🙏 Acknowledgements
- 📝 License
Hello React Rails is a project is meant for setting up a "Hello world" Rails project as one app with Webpack and React. It is meant to be a starting point for a Rails project with React.
Client
Server
- Rails
Database
- [Random Greeting message]
- [Single Fullstack web app]
- [Live Demo Link] 😃 not yet available
In order to run this project you need followed installed on your computer:
- Ruby v3+,
- Rails v7+
- PostgreSQL
- An IDE e.g Visual studio code.
- A terminal.
Clone this repository to your desired folder or download the Zip folder:
git clone https://github.com/devMunyi/hello_rails_app
- Navigate to the location of the folder in your machine:
you@your-Pc-name:~$ cd hello_rails_app
Install dependencies to this project with:
bundle install
npm install
Setup Database (Mandatory)
- Create
.env
file and add the following three lines(be sure to replace with your details):
POSTGRES_HOST='localhost'
POSTGRES_USERNAME='your_postgress_username'
POSTGRES_PASSWORD='your_postgress_password'
-To create database run:
rails db:create
If you have made a migration then run this command
rails db:migrate
rails db:seed
To run the project, execute the following command:
./bin/dev # for building css, and webpack, and rails server
Or
rails server or rails s # after build
👤 Samuel Munyi
- GitHub: @devMunyi
- LinkedIn: Samuel Munyi
- Twitter: @munyi_sam
- [Add Loading Icon awaiting api call to send response]
- [Add more features on UI including styling]
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
I would like to thank:
- Microverse
- Code Reviewers
This project is MIT licensed.