Skip to content

hngx-org/Mentor--Me

Repository files navigation

Mentor ME

Table of Contents ✨

Description

No.1 Mentoring app, All the help you need in one place

Installation

First, run:

npm install

The activate husky

npm run prepare

Then run:

npm run dev

Usage

FONTS

  • Hanken Grotesk ---> usage "font-hanken"
  • Gladiora ---> usage "font-gladiora"
  • Inter ---> usage "font-Inter"

Colors

colors are arranged based on the Figma Style Guide

Color     Code

NeutalBase:"#020202",
Neutra50: "#2c2c2c",
Neutra40: "#565656",
Neutra30: "#808080",
Neutra20: "#ababab",
Neutra10: "#cccccc",
Accent1: "#008080",
Accent2: "#00cccc",
Accent3: "#00ffff",
Accent4: "#7fffff",
Accent5: "#b2ffff",
Accent6: "#e5ffff",
SuccessBase:"#0f973d",
Success10: "#cfead8",
Success20: "#afdcbe",
Success30: "#87cb93",
Success40: "#5fba7e",
Success50: "#37a85d",
Success60: "#0d7e33",
Success70: "#0a6529",
Success80: "#084c1f",
Success100: "#031e0c",
ErrorBase: "#d42620",
Error10: "#f6d4d2",
Error20: "#f1b7b5",
Error30: "#e9928f",
Error40: "#e26e6a",
Error50: "#db4a45",
Error60: "#b1201b",
Error70: "#8d1915",
Error80: "#6a1310",
Error90: "#450d0b",
Error100: "#2a0806",

Example Usage

for color.

<p className="text-SuccessBase">Example</p>

for background

<p className="bg-SuccessBase">Example</p>

for border

<p className="border-SuccessBase">Example</p>

you get the point

Dev Server

Open http://localhost:3000 with your browser to see the result.

Contributing

MentoMe is open to contributions, but I recommend creating an issue or replying in a comment to let us know what you are working on first that way we don't overwrite each other.

Contribution Guidelines

  1. Pull origin git pull origin dev

  2. Create a new branch for the task you were assigned to, eg TicketNumber/(Feat/Bug/Fix/Chore)/Ticket-title : git checkout -b MME-001/Feat/Dashboard

  3. After making changes, format codes with npm run format

  4. Then stage your files git add .

  5. Commit your changes with a descriptive commit message : git commit -m "your commit message".

  6. IMPORTANT: To make sure there are no conflicts, run git pull origin dev.

  7. Push changes to your new branch, run git push -u origin MME-001/Feat/Dashboard.

  8. Create a pull request to the dev branch not main.

  9. Ensure to describe your pull request.

  10. If you've added code that should be tested, add some test examples.

Merging

Under no circumstances should you merge a pull requests on a specific branch to the dev or main branch

Commit CheatSheet

Type Description
feat Features A new feature
fix Bug Fixes A bug fix
docs Documentation Documentation only changes
style Styles Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
refactor Code Refactoring A code change that neither fixes a bug nor adds a feature
perf Performance Improvements A code change that improves performance
test Tests Adding missing tests or correcting existing tests
build Builds Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
ci Continuous Integrations Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
chore Chores Other changes that don't modify , frontend or test files
revert Reverts Reverts a previous commit

Sample Commit Messages

  • chore: Updated README file := chore is used because the commit didn't make any changes to the , frontend or test folders in any way.
  • feat: Added plugin info endpoints := feat is used here because the feature was non-existent before the commit.

API

A separate folder called api is created withing the app folder here, to make an API Call:

  • create a new folder within the app/api dir
  • within the created folder create a route.ts file
  • within the route.ts file you make either a GET or POST Request

❗❗Do not create any custom http calls inside a components. Whatever calls that need to be processed by the server should be called within the route.ts file.

About

A platform for mentees to find mentors and vice versa. preview url: https://mentor-me-lake.vercel.app/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages