This rails application allows for individuals to search for black owned businesses.
There is two ways to sign in: 1. As a business owner where you will be able to add companies that you own. 2. As a user who will be able to search for companies.
All users and owners have the ability to create personalized list that they can add muiltple companies too. In addition, a user/owner is able to follow/favorite companies of their liking. All users can delete/edit their list at any time.
Lastly, it allows an administrator to CRUD all functions in the app.
This project allows a business owner to create a company and add its location which will be shown on the company show page using the google maps API Google_Maps_API
- Ruby-on-Rails
- byebug
- Google_Maps_API
- Blood 💉, Sweat 💦, and Tears 😢
To get the application started you must have ruby installed on your computer. Checkout the ruby on rails getting-started-guide to learn how to install it on your device.
Before running your server, you will need to install the gems and add content to your database manually or you can use the seeds file:
To install the gems run the following:
bundle install
To run your migrations and update your db/schema.rb file to match the structure of the database, run the following:
rails db:migrate
To create data in the database, run the following:
rails db:seed
rails s
and then go to your favorite browser and visit this webpage "http://localhost:3000"
-
Get a free API Key at Google_Maps_API
-
Clone the repo
git clone https://github.com/SincerelyBrittany/b-owned.git
- Install the gemfile packages
bundle install
- Created a
.env
file, add the file to your gitignore, and enter your API KEYS:
GOOGLE_KEY = "KEY_HERE"
GOOGLE_CLIENT_ID = "ID_HERE"
GOOGLE_CLIENT_SECRET = "SECRET_HERE"
View Demo on ways to use the application.
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Connect/Follow me: