Skip to content

gdscwce/Coursebook-Maker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coursebook-Maker

Table of contents

About The Project

Coursebook Maker which allows user to build coursebook for any course with details like coursebook information, course information,pre-requisites, textbooks, references, course objectives, course content,etc.User just have to fill up forms that specifies required data.The Data provided by user is stored and fetched with fields in coursebook template. At the end, system automatically generates well structured coursebook. Users have option to download and save the generated coursebook.

  • Build coursebook with this application.
  • Run the app.py and go to localhost:5000
  • Add coursebook data
  • At the end, View added data and download the coursebook

Technologies Used

About Code

  • app.py
    To run the application

  • coursebook

    • _init_.py
      Holds general application setup

    • forms.py
      Here Forms are defined as classes.

    • routes.py
      This file contains all routing code.

      • How to generate forms
        To create forms from classes in forms.py , import that classes in routes.py . After creating form, get the data and insert into mongodb collection. Then render html template with the WTForm.
    • createDoc.py
      create_Doc() function from this file is used in routes.py to generate coursebook in doc format.
      This function use template Coursebook_Template to create well structured output. It fetch the json data with fields in Coursebook_Template.

    • template folder
      It contains html templates.
      layout.html is base template for application.

    • static folder
      It contains main.css

Installation

  1. Install MongoDB
  2. Clone the repo
    git clone https://github.com/revati9834/Coursebook-Maker
  3. Enter Directory
    cd coursebook
  4. Install all packages
    pip install -r requirements.txt
  5. Run webserver
    python app.py

Project View

  • Homepage homepage

  • Enter coursecode
    (When user submit the coursecode, in background mongodb collection with name of coursecode is created to save further data) coursecode

  • Forms forms

  • Download coursebook download

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 53.7%
  • Python 41.5%
  • CSS 4.8%