Giter Site home page Giter Site logo

bookbysru / courselit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codelitdev/courselit

0.0 0.0 0.0 7.34 MB

Start your own online teaching business. Features include course maker, students manager, payments and more.

Home Page: https://courselit.codelit.dev/

License: MIT License

JavaScript 94.96% Dockerfile 0.42% Shell 0.04% HTML 0.06% TypeScript 4.52%

courselit's Introduction

Website | Getting started | Documentation

Status Chat Downloads Last commit Lgtm License

Introduction

CourseLit is a content management system (aka CMS) for starting your own online course website. It is designed keeping educators in mind. Consider it an open-source alternative to those paid tutoring sites.

It comes pre-equipped with all the basic tools you'd require to efficiently run and administer your online teaching business. Features include course authoring, student management, payment processing (via Stripe), website customization and analytics (very limited as of now).

Check out this live example to see what you can build with CourseLit. Click here.

Screenshot

courselit cms screenshot

Getting Started

To install CourseLit on your cloud server, please follow our official guide.

Development

The project is organised as a mono-repo. It uses Lerna for managing the mono-repo. You need to run both backend and frontend servers, located in packages/api and packages/app respectively, in order to run the portal in its entirety.

We recommend using Visual Studio Code for development as it allows you to develop your code in isolation inside a container using the Remote - Containers extension. Install both the editor and the extension.

Once you have this setup, follow these steps.

  1. Press Ctrl + Shift + P to open the command palette of Visual Studio Code, type in "Remote-Containers: Open Workspace in Container" and press enter after selecting it.

  2. Once the code opens up, open two terminal windows in your Visual Studio Code and type in the following commands to start the backend and frontend servers respectively.

  • yarn lerna run dev --scope=@courselit/api --stream
  • yarn lerna run dev --scope=@courselit/app --stream

The above commands are also exported as bash aliases, so you can simply type api and app in separate terminal windows to run backend and frontend servers respectively.

Writing Your Own Widget

You can add additional functionality to your application via building your own widgets. Look at this document.

Environment variables.

SITE_URL

The public address of the site. Required parameter. No default value.

MEDIA_FOLDER

A folder on your host machine while will be mounted as a volume to all the containers. It is required for storing database files, user uploaded files, ssl certificates and everything else. Required parameter. No default value.

MONGO_ROOT_USERNAME, MONGO_ROOT_PASSWORD

These are required for correctly initializing an admin user in the mongo db instance running inside the container named db. Read more about these here.

DB_CONNECTION_STRING

The connection string to a mongodb instance running in the db container. Required parameter. The value should be mongodb://<MONGO_ROOT_USERNAME>:<MONGO_ROOT_PASSWORD>@db where MONGO_ROOT_USERNAME and MONGO_ROOT_PASSWORD are the same variables defined above.

JWT_SECRET

A random string to use as a secret to sign the JWT tokens the API generates. Required parameter. No default value.

JWT_EXPIRES_IN

The duration after while the generated JWT expires. For more information check out here. Optional parameter. Defaults to 1d.

DOMAIN

The domain name for which the ssl certificate is issued. Optional parameter, only required if using a SSL certificate. No default value.

TAG

The Docker tag. To see what all tags are available, visit CourseLit on Docker Hub.

Security

Although, we've done everything in our power to secure the application by following the best practices, we hope you understand that no one can guarantee that it's the most secure implementation out there and it will always stay secure.

Please audit the environment files, docker-compose files and other configurations properly as per your company's security standards. If you've discovered a security vulnerability, consider fixing the issue and submitting a PR.

Use the application at your own risk. People who have worked on this project will not be responsible for any sort of damage that happens to you by using the application.

courselit's People

Contributors

dependabot[bot] avatar rajat1saxena avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.