Git Product home page Git Product logo

com1001---semester-2-project's Introduction

About this project

This was created for our COM1001 Semester 2 Project. In this project we had to create an E-mentoring website using the Sinatra Ruby Web Framework. It was initially developed to be used in a codio box. It has been changed to work in a more general environment.

Prerequisites

Some applications are needed before you can start the web app
Ruby 2.6+
Bundler Gem 2.0+
Sqlite3 3.22+

E-mentor scheme web application

A web application written in Ruby which allows mentors and mentees to contact each other and exchange information.

To Start The Web App On Codio

-Visit https://codio.com and log into your account, or register first.

-Click on ‘My Projects’ and then on ‘New Project’.

-Select Ruby + Rails as the starting point and give your project a name, then create it.

-Open the terminal by clicking the "Tools" tab, then "Terminal".

-Type the following commands in the terminal and press enter after each:

git clone https://github.com/ArifulH8/COM1001---Semester-2-Project to clone the project to your system

cd COM1001---Semester-2-Project

gem install bundler

bundle install

ruby app.rb

-Finally, go to the URL of your app, this will be printed to the terminal (‘This sinatra application is available at: --4567.codio.io ‘).

-If you wish to stop the web app, press Control + C in the terminal located in the other tab, the codio box.

For Non Codio Development

A very similar process

git clone https://github.com/ArifulH8/COM1001---Semester-2-Project to clone the project to your system

cd COM1001---Semester-2-Project

gem install bundler

bundle install

ruby app.rb

Example user accounts you can use

Email Password Name User Account Type Title Job Title Industry Sector University Degree Telephone
[email protected] Password1 Mentee1 TestDude Mentee Uni of Sheffield Computer Science 0114 222 9134
[email protected] Password1 Mentee2 TestDude Mentee Uni of Sheffield Computer Science 0114 222 9134
[email protected] Password1 Mentor1 TestDudette Mentor Mrs Professor Teacher training and education
[email protected] Password1 Mentor2 TestDudette Mentor Dr System Admin Information technology
[email protected] Password1 FounderAdmin TestPerson Founder

Make an account

Register by visiting the login page, where you’ll be asked if you have an account, and enter your details to make one.

Select your role based on what you would like to be: a mentor or a mentee.

Contact a mentor

Mentees can use the search and filter functions to look for a suitable mentor.

They can enter an introductory email that will be sent to the mentor.

As a mentee-driven scheme, it is their responsibility to initiate and maintain contact with your mentor.

Mentor Acceptance

Mentors can go to their dashboard and view the mentees who have expressed their interest in a mentorship.

They can click on ‘view more’ to see a description of the mentee and accept the invitation.

Mentorship

Once the mentee and mentor have started the mentorship, they will be able to see each others' emails to start correspondence.

Change account credentials

Use the Profile menu on the top tool bar to change your credentials.

Simply enter the new credentials and the old ones for verification purposes and the details will be updated when you click Change Details.

Administration

The administrator role is a special role with elevated privileges, such as suspending users, changing account details and viewing and dealing with reports.

The initial administrator (the ‘founder’) can also promote other users.

The report system

Users can submit reports to administrators in case something inappropriate happens during the mentoring process. The administrators are then able to view the reports.

Contributing

This was created by Team 02

Ariful Haque
Edmond Chu
Jakub Bolcun
Josh Dixon
Vlad Mihai Cranga
Wenxiang Cai
Robertas Burskys

com1001---semester-2-project's People

Contributors

arifulh8 avatar jbolcun1 avatar edboch avatar wxcai13 avatar j-d1xon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.