anita00001 / fix-mate-backend

Fix Mate is committed to making everyday life more convenient by connecting users with trusted service providers. It is a one-stop platform for finding, booking, and reviewing services, all from the comfort of your home.

Home Page:https://fixmate.onrender.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FixMate

πŸ“— Table of Contents

[ πŸ‘¨β€πŸ’» Fix Mate ]

Fix Mate is committed to making everyday life more convenient by connecting users with trusted service providers. It is a one-stop platform for finding, booking, and reviewing services, all from the comfort of your home. Users can communicate with service providers through the app, discussing specific requirements, asking questions, and confirming details.

API

  • API Endpoints
  • api/v1/experts
  • api/v1/reservations
  • api/v1/specializations

Link to Front End

Kanban Board Link

Entity Relationship Diagram

fixmate_erd_digram

πŸ›  Built With

Tech Stack

Server
Database

Key Features

The key features of this project include.

  • Show all Experts
  • Reserve an Expert
  • Show my Reservation
  • Add an Expert
  • Delete an Expert
  • Add a Specialization

(back to top)

πŸ’» Getting Started

  • To get a local copy up and running, follow these steps.

Prerequisites

Before you begin, make sure you have the following installed on your machine:

  • Ruby: You can download Ruby here.
  • Rails: You can install Rails by running the command gem install rails in your terminal.
  • Postgres: You can install Postgresql here.
  • A code editor (like VSCode, Sublime, Atom, etc.): You can download VSCode here, Sublime here, and Atom here.
  • Git: You can download Git here.
  • Node.js: You can download Node.js here.
  • Version Requirements:
  ruby >= 3.2.0
  rails >= 7.0
  postgres >- 15.3

Setup

  • To setup this project locally:
  1. Open terminal in VScode.
  2. Navigate to the directory where you want clone the copy of this repository.
  3. Create new directory [optional].
  4. Clone the repository by running the following command:
git clone https://github.com/anita00001/fix-mate-backend.git
  1. Navigate into the cloned repository:
cd fix-mate-backend

Installation

  1. Install the required dependencies by running the following command:
bundle install
  1. Delete files /config/credentials.yml.enc and /config/master.key, (if any).
  2. Run the command to get the pairs of credentials and master key
rails credentials:edit

Database Setup

  • To create the database, run the following command:
rails db:create
  • To migrate the database schema, run the following command:
rails db:migrate
  • Feed Sample data through seeds
  rails db:seed

Run Test

  • Run Linters Check with Rubocop
  rubocop
  • Run Test with RSpec
rails db:migrate RAILS_ENV=test && rspec spec

Running the App

  • To run the application, run the following command:
rails server
  • This will start the Rails development server and you can access the application by visiting http://localhost:4000 in your web browser.

(back to top)

πŸ‘₯ Authors

The collaborators of this project.

πŸ‘€ Anita Sharma

πŸ‘€ Ansar Ibrahim

πŸ‘€ MoFuhidy

πŸ‘€ Theodore Asimeng-Osei

(back to top)

πŸ”­ Future Features

  • Delete Specializations
  • Add Admin Role

(back to top)

🀝 Contributing

  • Contributions, issues, and feature requests are welcome!

(back to top)

πŸ’– Show your support

  • Give a ⭐️, if you like this project!

(back to top)

πŸ™ Acknowledgments

(back to top)

πŸ“ License

This project is MIT licensed.

(back to top)

About

Fix Mate is committed to making everyday life more convenient by connecting users with trusted service providers. It is a one-stop platform for finding, booking, and reviewing services, all from the comfort of your home.

https://fixmate.onrender.com/

License:MIT License


Languages

Language:Ruby 93.6%Language:Batchfile 3.5%Language:Dockerfile 2.3%Language:HTML 0.3%Language:Shell 0.2%