-
A sample backend project for showing the actions among teachers , students and courses. Teachers can create courses , assign courses and retrieve the list of students from a specified course. Students can register or unregister courses. All users even without basic account can retrieve the teachers list or courses list from a specified teacher.
-
- script
- schedule parameter struct :
{ weekday_num : [time_slot1, time_slot2, ...], ... ... }
-
- cmd enter foler base
- run
docker-compose up -d
這部分會將db與app建立起來 - run
docker exec -t course_center rails db:migrate
db schema初始化 - run
docker exec -t course_center rails db:seed
db seed產生oauth2所需的test applications - have fun. 參考docment並使用Swagger Editor進行測試
-
Test Application:
{ "name" : "test_client", "uid" : "11rD_NPUo9D15hrTuFfgege3iAabZn9gfgnBlEw2", #即參數的client_id "secret" : "tSeKtHSQ5x3JJgE57QNHrAjL2Tcy0UdjitxLi33ITQA" #即參數的client_secret }
LarsonKao/course_center
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published