- About Project
- Built With
- Tech Stack
- Key Features
- Getting Started
- Usage
- Tests
- Kanban Board
- Authors
- Future Features
- Contributing
- Show your support
- Acknowledgements
- License
The MentorMeNow Backend app is a Rails API that fetches Users, Mentors & Reservations from a PostgreSQL database, demonstrating basic Rails API development. For a practical application, the MentorMeNow app consumes this API to display mentors, showcasing a full-stack integration with React, Vite, and TailwindCSS.
See the MentorMeNow app in action here.
- Ruby on Rails
- PostgreSQL
- Ruby version: 3.2.2
- Rails version: Specify your Rails version
- Database: PostgreSQL
- API endpoint to fetch Users, Mentors & Reservations
- PostgreSQL database integration
- Simple and clean codebase focusing on RESTful API design
- Ruby 3.2.2
- Rails 7.1
- PostgreSQL
- Clone this repository
git clone https://github.com/Ayokunnumi1/mentor_me_now_back_end.git
cd mentor_me_now_back_end
- Check your Ruby version
ruby -v
- Install dependencies
bundle install
- Update your database informations
Go to
config/database.yml
. Replaceyour_postgres_username
andyour_postgres_password
with your database informationsdefault: &default adapter: postgresql encoding: unicode pool: 5 username: [your_postgres_username] password: [your_postgres_password] host: localhost development: <<: *default database: [your_database_for_development] test: <<: *default database: [your_database_for_test] production: <<: *default database: [your_database_for_production]
Populate data in the database by running the following commands:
rails db:create
rails db:migrate
rails db:seed
To start the server, run:
rails s
Navigate to http://localhost:3000/api-docs/
to see the API in action, returning diverse requests.
To run the test suite, execute the following commands:
rails db:migrate RAILS_ENV=test
rspec
- Kanban board link
- Kanban board initial state
- We are a team of 3 members as indicated in the authors section
- Martin Karugaba - @martinkarugaba
- Ayokunnumi Omololu - @Ayokunnumi1
- Nelly Telli - @lily4178993
- Extend the API to include Admin requests
- Implement other operations (e.g., update user profile or cancel a reservation)
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if this project helped you!
- Microverse
- Ruby on Rails Community
- PostgreSQL Documentation
This project is MIT licensed.