Skip to content

Latest commit

 

History

History
118 lines (86 loc) · 2.87 KB

CONTRIBUTING.md

File metadata and controls

118 lines (86 loc) · 2.87 KB

Contributing

First of all, thank you for taking the time to contribute! 👍🎉

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Guide to add new courses

Fill this Google Form

Add your course by filling this Google Form

Add a new object in code

To add new course please follow steps:

  1. Fork this repo
  2. Go to the folder /src/data
  3. Open the courses.ts
  4. Add a new object, Example as follows:
   {
        title "title of course",
        author "Author of course",
        language "language of course",
        flags "flag of the language" // this is optional        ,
        categories "category 1,  category 2",
        link "https://linkOfCouse.com/",
        level "the level of course",
        description "a short description of course",
        "image:" "https://linkToimage.com/image.png" // this is optional
    },
    {
        title "JavaScript30",
        author "Wes Bos",
        language "English",
        flags "flag-icon-us",
        categories "javascript",
        link "https://javascript30.com/",
        level "Beginner - Intermediate",
        image "",
        description "Beginner to Intermediate developers and designers who want to become comfortable with both JavaScript fundamentals and working in the DOM without a library."
    }

Flag icons can be found here: flag-icon-css

To add a new category:

  1. Fork this repo
  2. Go to the folder /src/data
  3. Open the categories.ts
  4. Add a new object, Example as follows:
    {
        title "Title of Category",
        icon "icon of category"
    },
    {
        title "JavaScript",
        icon "devicon-javascript-plain colored"
    },
    {
        title "Sass",
        icon "devicons devicons-sass"
    }

Icon classes can be found here: Devicon or Devicon Cheatsheet

Environment setup

To run locally

  • You'll need to have bower and node installed in your system.
npm install && bower install
  • Run development server:
npm start
npm run dev
  • Open the Web browser to http://localhost:8080/

To build the Production package

npm run build

ESLint

There is a .eslintrc config for ESLint ready with React plugin.

To run linting, run:

npm run lint

Code of Conduct

Check Code of Conduct