Giter Club home page Giter Club logo

django-courses-app's Introduction

Django Courses App

This is the backend implementation that allows users to browse, enroll in, and manage online courses. It includes features such as user authentication, course browsing, enrollment, and course schedules.

The web application is built with Django and Django REST Framework. It provides a REST API for managing courses, course instances, and enrollments.

Features

  • User authentication with registration, login, and simple profile management
  • Browsing for courses and course instances
    • Course details with video preview, studies plan, and course instances
    • Course instances with schedules, start and end dates, and teacher information
  • Enrollment in course instances

Installation

  1. Clone the repository:

    git clone https://github.com/netomo/django-courses-app.git
    cd my-django-courses-app
  2. Create and activate a virtual environment:

    python3 -m venv venv
    source venv/bin/activate
  3. Install the dependencies:

    pip install -r requirements.txt
  4. Apply migrations:

    python manage.py migrate
  5. Create a superuser:

    python manage.py createsuperuser
  6. Run the development server:

    python manage.py runserver

Configuration

Change your environment variables for sensitive settings such as DJANGO_SECRET_KEY and DJANGO_DEBUG in settings.ini.

Usage

  1. Visit the web application at [http://localhost:8000/].
  2. Browse and search for courses using the course catalog.
  3. Register for an account or log in to enroll in courses and manage your enrollments.

API Endpoints

This backend provides REST API endpoints for managing courses, course instances, and enrollments. For a friendly experience understanding and using the API, visit the API documentation at:

  • [http://localhost:8000/api/schema/swagger-ui/]
  • [http://localhost:8000/api/schema/redoc/]

django-courses-app's People

Contributors

netomo 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.