Giter VIP home page Giter VIP logo

iert-webapp's Introduction

IERT DJANGO WEBAPP

ย  contributions welcomeย 

This is my college website created using python (django framework) at backend . Some of the features of website include implementation of login/logout system for students , it's a responsive website which is also a standalone progressive web app and provide dynamic notification and content from backend.

Django

Django is an open-source python web framework used for rapid development, pragmatic, maintainable, clean design, and secures websites. A web application framework is a toolkit of all components need for application development. The main goal of the Django framework is to allow developers to focus on components of the application that are new instead of spending time on already developed components. Django is fully featured than many other frameworks on the market. It takes care of a lot of hassle involved in the web development; enables users to focus on developing components needed for their application.

Made with python

Virtualenv & Dependencies

create a virtualenv and run requirements.txt
virtualenv

pip install virtualenv

what is virtual environment ?
A virtual environment is a tool that helps to keep dependencies required by different projects separate by creating isolated python virtual environments for them. This is one of the most important tools that most of the Python developers use.
read more...

to run requirements.txt

$ pip install -r requirements.txt

here env/ folder contains all dependencies

use docker to run

How to Install and Configure Docker in Ubuntu?

Dockerizing a simple Django app

pull docker image using

$ docker push itssvinayak/iert_site:latest

run docker file using

$ sudo docker run -p 8000:8000 iert_site

Running locally

  1. clone repository
    $ git clone https://github.com/itsvinayak/iert_django_webapp.git
  2. make database settings and connect it to your local database
    $ cd ./src/iert 
    open settings.py file
                    DATABASES = {
                "default": {
                    "ENGINE": "django.db.backends.mysql",
                    "NAME": "iert",
                    "USER": "root",
                    "HOST": "localhost",
                    "PASSWORD": "vinayak",
                    "PORT": "3306",
                    "OPTIONS": {"sql_mode": "traditional"},
                }
            }
       
    set this part according to needs.
  3. run migrations
    $ python manage.py migrate
  4. now, runserver
    $ python manage.py runserver

Screenshot

Features

  • responsive bootstrap design
  • user login and registration feature
  • news section with users feedback (like and comment button include )
  • API include using DjangoRestFramework

Tables

mysql commands to use

  • To open database
    $ mysql -u username -p password
  • To select database
    $ use database_name;
  • To see tables
    $ show tables;

ER Diagram

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/itsvinayak/iert_django_webapp

made by vinayak with ๐Ÿ’• and ๐Ÿ’ป

iert-webapp's People

Contributors

dependabot[bot] avatar itsvinayak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

iert-webapp's Issues

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.