GithubHelp home page GithubHelp logo

khasizadaj / edu_cms_api Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 38 KB

Educational Content Management System API is built with Django, designed for course creation, student enrollment, quiz administration, and progress tracking.

Python 93.29% Makefile 6.71%

edu_cms_api's Introduction

Educational CMS API

Introduction

Educational Content Management System API is built with Django, designed for course creation, student enrollment, quiz administration, and progress tracking.

Project Setup

Dependencies

  • Django and djangorestframwework for building the API
  • poetry for managing dependencies
  • mypy static typing
  • flake8 for linting
  • black for code formatting
  • pre-commit to enforces the linting and code formatting

Code Formatting and Style

The project uses black for code formatting and flake8 for linting, integrated through pre-commit hooks to ensure code consistency and quality.

Running the Project

  1. Clone the Repository

    git clone [email protected]:khasizadaj/edu_cms_api.git
  2. Install Dependencies

    Note: This step expects poetry library to be installed at global scope.

    # in: edu_cms_api
    python3 -m poetry install
    
    # or
     
    python -m poetry install
  3. Environment Setup

    cp .env.example .env
    # Edit .env to set your environment variables
  4. Activate environment

    python3 -m poetry shell
    
    # or
     
    python -m poetry shell
  5. Install Pre-commit Hooks

    pre-commit install
  6. Database Migrations:

    # in: src
    make migrate
  7. Run the Server:

    # in: src
    make run
  8. Access the API: Available at http://127.0.0.1:8000/.

Contributing

Adhere to code style guidelines and add tests for new features. Pre-commit hooks must be used to ensure code quality.

Authors

  • Javid "JAXA" Khasizada

edu_cms_api's People

Contributors

khasizadaj avatar

Watchers

 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.