Giter Site home page Giter Site logo

anotherwebguy / gallery-crud-app-django Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 31.27 MB

Gallery Crud Webapp created using Django

Home Page: https://gallery-crud-app-hackerearth.herokuapp.com/

Shell 0.01% Python 45.31% Procfile 0.18% HTML 54.50%
bootsrap crud-application django heroku html5 python sqlite3

gallery-crud-app-django's Introduction

Gallery-Crud-App-Django

A simple Gallery web-app made in Django with sqlite as an database. The web-app is responsive and mobile/device friendly

Deployed app link: https://gallery-crud-app-hackerearth.herokuapp.com/


Tech stack

Django Bootstrap SQLite

Features:

  1. Add new images to gallery:

    Images can be added to the Gallery by Entering Image name, Image url and Image detail.
  2. Edit images in Gallery:

    Images already present in the gallery can be edited to change their Image url and Image detail.
  3. Delete images from Gallery:

    Images can be deleted from the Gallery.
  4. Search images by name in Gallery:

    Images can be searched by Image name from the Navbar Search bar.
  5. View images in Gallery:

    Images can be viewed fully by its name, details and full resolution image.
  6. Pagination support for showing 9 images per page in Gallery:

    The layout is structured in such a way that it shows only 9 items per page and rest of the data on the next pages.

Demo:

gallery-crud-pp.mp4

ScreenShots:

Home page Screenshot (30) Screenshot (31)

Add Image Screenshot (33)

View Image Screenshot (34)

Edit Image Screenshot (35)

Delete Image Screenshot (36)

Search Image search Screenshot (37)


Requirements

  • Python 3.10.2
  • Django 4.0.6
  • gunicorn 20.1.0
  • whitenoise 6.2.0

Setting up

Navigate to the project directory

cd Gallery

Setup a Virtual Environment and activate it

virtualenv env
env\Scripts\activate

Install the dependencies from Requirements.txt file

pip install -r requirements.txt

Run a Django development server

python manage.py runserver

Deployment

Deployments are managed via Heroku using Github. main branch is auto-deployed to https://gallery-crud-app-hackerearth.herokuapp.com/ after a git push

For Deploying the app on heroku

  • Create your own git repository and push the project to it.

    git init
    git add .
    git commit -m "creating repo"
    git remote add origin <your repository link>
    git branch -M main
    git push origin main
    
    
  • Login to Heroku, Create an app and connect the github repo to it
    heroku

  • Click on Auto Deploy and Deploy branch Main
    Hurray!! The app will be deployed to the heroku url created by heroku and will be ready to use.

gallery-crud-app-django's People

Contributors

anotherwebguy avatar

Stargazers

 avatar

Watchers

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