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和语言和框架的官方网站