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 Endpoints
- api/v1/experts
- api/v1/reservations
- api/v1/specializations
Server
Database
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
- To get a local copy up and running, follow these steps.
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
- To setup this project locally:
- Open terminal in VScode.
- Navigate to the directory where you want clone the copy of this repository.
- Create new directory [optional].
- Clone the repository by running the following command:
git clone https://github.com/anita00001/fix-mate-backend.git
- Navigate into the cloned repository:
cd fix-mate-backend
- Install the required dependencies by running the following command:
bundle install
- Delete files
/config/credentials.yml.enc
and/config/master.key
, (if any). - Run the command to get the pairs of credentials and master key
rails credentials:edit
- 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 Linters Check with Rubocop
rubocop
- Run Test with RSpec
rails db:migrate RAILS_ENV=test && rspec spec
- 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.
The collaborators of this project.
๐ค Anita Sharma
๐ค Ansar Ibrahim
๐ค MoFuhidy
๐ค Theodore Asimeng-Osei
- Delete Specializations
- Add Admin Role
- Contributions, issues, and feature requests are welcome!
- Feel free to check the issues page.
- Give a โญ๏ธ, if you like this project!
- We would like to thank Microverseinc for Readme-template, our code reviewer and external evaluator. We would extend our sincere gratitude to Murat Korkmaz on Behance for provinding the original design.
This project is MIT licensed.