Giter Club home page Giter Club logo

neighbourhood's Introduction

Project 5: Neighourhood Map

by Sacha Wharton

About

This is the fifth project in the Udacity Full Stack Web Developer Nanodegree. The application is for adding books with there relevant details such as title, publisher, cover image and so forth with your favourite browser. It uses a third party login namely Google Sign-In which once signed in will then allow you to perform CRUD operations. A JSON endpoint has been provided to query book information.

Required Libraries and Dependencies

Python 2.x (The Python executable should be in your default path, which the Python installer sets) Flask Web Framework Bootstrap Vagrant Virtual Box

A requirements.txt file has been created for all package dependencies.

Main Project Contents

The project contains the following files and folders:

  • static - all static content
  • templates - all html templates
  • database_setup.py - database creation
  • project.py - main Python script to run the application

How to Run the Project

  • Install Oracle Virtualbox from here
  • Install Vagrant from here
  • Use this link to configure and run the virtual machine here
  • Download the data from here and copy the item_catalogue_2 folder into the Vagrant directory
  • Navigate to the Vagrant folder on the virtual machine
  • Run pip install -r requirements.txt (this installs all the required packages)
  • Run database_setup.py (this will create the sqlite3 database with all the relevant tables)
  • Run project.py (this will start the webserver on port 5000)
  • Browse to http://localhost:5000 with your favourite browser

Extra Credit Description

I have implemented CSRF to protect CRUD operations. I have decided to pull book cover images from Amazon by using there image location. I felt this would be a better use of resources should the database grow very large by not having to store the images in the database itself.

Miscellaneous

I based the README on this template forum I can recommend DB Browser for SQLite here

neighbourhood's People

Contributors

sachajw avatar

Watchers

James Cloos 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.