Giter Site home page Giter Site logo

avinashhsinghh / item-catalog Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 3.0 24.57 MB

Item Catalog

Python 96.92% Shell 0.02% PowerShell 0.01% HTML 2.22% CSS 0.26% JavaScript 0.51% C 0.04% Roff 0.02%
item-catalog json-endpoint fullstack-development python flask-application sqlalchemy rest-api deployment

item-catalog's Introduction

Important Note:This Project is not using Vagrant VM.

Item Catalog Project

The Item Catalog project consists of developing an application that provides a list of items within a variety of categories, as well as provide a user registration and authentication system.

Tools and Frameworks

This web application was built with HTML5, CSS, Bootstrap, Vagrant, Flask, SQLAlchemy, Google and Facebook Oauth2 & APIs.

Instruction

To run the web application:

  1. Clone the repository using sudo git clone https://github.com/avi1245/FSND_item_catalog.git
  2. Install all required python package using sudo pip install requirements.txt present in the project directory.
  3. From directory /FSND_item_catalog/, initialize the application database by typing python database_setup.py
  4. From directory /FSND_item_catalog/, run the application within the VM by typing python main.py into the Terminal.
  5. Access the application by visiting http://localhost:8000 locally on the browser.

JSON Endpoints

/catalog.json - Returns JSON of all items in catalog.

/<category_name>/items.json - Returns JSON of for all items of a specific category.

/category/<category_name>/item/<item_name>/JSON - Returns JSON for an arbitrary item in the catalog.

/categories.json - Returns JSON of all categories in catalog.

/users.json - Returns JSON of all users.

Screenshot of Cover Page

The homepage displays all current categories along with the latest added items.

Homepage with no items added and logged out.

Selecting a specific item shows you specific information of that item.

Login Page

/login - login page

After logging in, a user has the ability to add, update, or delete item info.

The application provides a JSON endpoint, at the very least

Possible improvements

  • Styling and layout could improve
  • Implement CSRF protection on CRUD operations.

item-catalog's People

Contributors

avinashhsinghh avatar

Stargazers

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