/skill-habour-be

A harbor where learners can dock to gain new skills.

Primary LanguageRubyMIT LicenseMIT

SKILL HABOUR BACKEND

📗 Table of Contents

Skill Habour

🎓 Skill Habour is a cheap platform that helps you dive into a sea of knowledge without breaking the bank! 🌊 Skill Harbour is your secret treasure trove for affordable courses that won't leave your wallet high and dry.

🛠 Built With

Tech Stack

Server
Client
Database

💮 Key Features

  • User can authenticate
  • User can browse a list of courses
  • User can reserve or enroll in a course
  • User can check their reservations
  • The application is responsive

(back to top)

🚀 Important Links

(back to top)

💻 Getting Started

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

Prerequisites

🧰 Setup

Clone this repository to your desired folder:

  cd my-folder
  git clone https://github.com/coderacheal/skill-habour-be.git

🔧 Install

Install this project with:

  cd skill-habour-be
  
  bundle install

  rails db:create

  rails db:migrate

  rails db:seed

Database Setup Troubleshooting: Missing Master Key

  1. Remove Existing Configuration Files: First, check if config/master.key and config/credentials.yml.enc exist in your project directory. If they do, remove them.

  2. Edit Credentials: Open your terminal and run the following command:

    EDITOR=code rails credentials:edit

    Replace code with your preferred text editor (e.g., nano, vim, or subl, depending on your setup).

  3. Generate New Master Key: The previous step will generate a new master.key and credentials.yml.enc if they don't already exist in your project directory.

🪜 Usage

To run the project, execute the following command:

  
  rails s -p3001
  

(back to top)

🧑🏽‍💻 Authors

🤓 Racheal Appiah-kubi

🤓 Atif Zada

🤓 Ouail Laarabi

(back to top)

🔭 Future Features

  • User can update their reservation
  • Admin can add and update information about courses
  • User can rate their experience

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

⭐️⭐️⭐️⭐️ Star the repository 💸

(back to top)

🙏 Acknowledgments

We would like to thank:

(back to top)

📝 License

This project is MIT licensed.

(back to top)