learnit
1.0.0
一個簡單,易於使用和免費的學習平台。
LearnIt是一個使每個人都可以學習編碼的平台。這是一個目前正在開發的免費開源項目。通過撥出存儲庫並提出拉動請求(在貢獻部分中詳細介紹它),可以隨意為該項目做出貢獻。
開發版本使用https://cors-anywhere.herokuapp.com/corsdemo繞過CORS。這不是一個好習慣,不應用於生產。這僅用於開發目的。要使IT運行,您需要打開網站,然後單擊按鈕Request temporary access to the demo server 。
git clone https://github.com/Style77/learnit.gityarn install.env.local文件: # Firebase config
apiKey=
authDomain=
projectId=
storageBucket=
messagingSenderId=
appId=
measurementId=
# local server url - website adds /api to the end
apiUrl="http://localhost:3000"
# jdoodle.com config - its used for compiling code in lessons
jdoodleClientId=
jdoodleClientSecret=
yarn dev 如果您想為該項目做出貢獻,可以通過分配存儲庫並創建拉動請求來做到這一點。如果您有任何疑問,可以通過Discord與我聯繫: yves#8382 。每個貢獻都將受到讚賞,我們將為您提供信譽(尤其是添加的新課程的每個作者,在模型部分中檢查課程的格式)。
課程格式基於以下公式:
data/courses/[language]/lessons文件夾中,每個課程名稱都是一個數字(例如1.json ),用於對課程進行分類。{
"title" : " " , // lesson title
"description" : " " , // this is not used anywhere yet, but can be used to display description in the future (or help with SEO)
"number" : 1 , // number of lesson
"tags" : [], // tags for lesson (e.g. "arrays", "loops", "functions") - not used anywhere yet
"examples" : [ // examples for lesson
{
"title" : " " , // example title
"description" : " " , // example description - it's shown on the left side of editor
"code" : " " , // example code - it's shown in editor on the right side - not needed if u want user to write code from scratch
"output" : " " // example output - it needs to be same as output from code written by user to let user pass the example (or lesson if there is only one example)
},
{ // there can be multiple examples in one lesson - user needs to pass all of them to pass the lesson (or there can be only one example in lesson)
"title" : " " ,
"description" : " " ,
"code" : " " ,
"output" : " "
}
]
}該項目是根據MIT許可證獲得許可的 - 有關詳細信息,請參見許可證文件
next.config.js中允許域到某些圖像代理,例如https://cloudinary.com/README.md和LICENSEnext.js
火基
jdoodle.com
反應
攤牌
課程的圖標主要來自Wikimedia Commons和語言和框架的官方網站