{"id":19254495,"url":"https://github.com/vicdata4/lit-course-server","last_synced_at":"2025-04-21T14:32:23.766Z","repository":{"id":46680659,"uuid":"310437639","full_name":"vicdata4/lit-course-server","owner":"vicdata4","description":"Lit course server","archived":false,"fork":false,"pushed_at":"2020-11-24T15:56:38.000Z","size":2069,"stargazers_count":2,"open_issues_count":2,"forks_count":9,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T13:51:16.174Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vicdata4.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-05T23:02:07.000Z","updated_at":"2021-05-25T11:15:08.000Z","dependencies_parsed_at":"2022-09-10T15:20:43.011Z","dependency_job_id":null,"html_url":"https://github.com/vicdata4/lit-course-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vicdata4%2Flit-course-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vicdata4%2Flit-course-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vicdata4%2Flit-course-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vicdata4%2Flit-course-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vicdata4","download_url":"https://codeload.github.com/vicdata4/lit-course-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250070386,"owners_count":21369863,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T18:35:51.202Z","updated_at":"2025-04-21T14:32:23.164Z","avatar_url":"https://github.com/vicdata4.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://cdn.jsdelivr.net/gh/vicdata4/lit-course/assets/images/logo_.png?v=4\u0026s=100)\n\n## Quickstart\n\n```\ngit clone https://github.com/vicdata4/lit-course-server.git\n\ncd lit-course-server\n```\n\n```\nnpm install\n```\n\nCreate config.js file\n\n```js\nmodule.exports = {\n  publicPath: '',\n  port: 3000,\n  origin: `http://localhost:${this.port}`,\n  mongodb: {\n    domain: 'localhost',\n    port: '27017'\n  }\n};\n```\n\nReplace the empty `publicPath` value `''` with your `absolute/path/to/your/lit-course/build`\n\nRun server\n```\nnpm run server\n```\n\nFrom the browser\n```\nhttp://localhost:3000/\n```\n\n## MongoDB Configuration\n\nRun mongodb\n```\n./mongod --dbpath /absolute-path\n```\n\n```\n./mongo\n```\n\nCreate data base\n\n```\nuse lit-course\n```\n\nCreate collection\n```\ndb.createCollection('lit-data')\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvicdata4%2Flit-course-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvicdata4%2Flit-course-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvicdata4%2Flit-course-server/lists"}