https://github.com/codehunt101/bmates
App that helps connect people who want to make new friends
https://github.com/codehunt101/bmates
css database html javascript material-ui postgresql rails-api reactjs ruby
Last synced: 3 months ago
JSON representation
App that helps connect people who want to make new friends
- Host: GitHub
- URL: https://github.com/codehunt101/bmates
- Owner: CodeHunt101
- Created: 2021-12-08T05:18:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-23T01:43:18.000Z (about 2 years ago)
- Last Synced: 2025-01-24T21:32:23.250Z (over 1 year ago)
- Topics: css, database, html, javascript, material-ui, postgresql, rails-api, reactjs, ruby
- Language: JavaScript
- Homepage:
- Size: 2.25 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
Welcome to ***Bmates***, a place that helps you meet new people!
This is the production mode, deployed in heroku:
https://bmates.herokuapp.com/
To get the application up and running, please do the following:
1. Install **Postgresql** as this is the database this app is configured to use. If you already have it, please go to the next step.
In order to install Postgresql, you will need **Homebrew** prevously installed. If you do not have it, please run:
```
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```
And then run the following to install **Postgresql**:
```
brew install postgresql
```
2. Please make sure you are using **Ruby 2.7.4**, otherwise go to the Gemfile and change it to the version you currently have. Then please run:
```
bundle install
```
3. This app uses **Active Storage**. Please run the following to install it:
```
bin/rails active_storage:install
```
4. To migrate and seed the database with mock data, please run:
```
rake db:create db:migrate db:seed
```
5. This app uses Amazon S3 bucket to store images. You'll need to have an *access_key_id* and a *secret_access_key*. Store them by deleting */config/credentials.yml.enc* and then executing the following:
```
EDITOR="code --wait" rails credentials:edit
```
Uncomment the *aws* snippet and add the *access_key_id* and the *secret_access_key*
6. Install the **React** library and its dependencies by running:
```
npm install
```
7. To call the server run:
```
rails server
```
8. Finally, to start Bmates on your browser run:
```
npm start
```
Enjoy!