Git Product home page Git Product logo

udacity-fsnd-project4's Introduction

Item Catalog

Forth project from Udacity's Full-Stack Web Developer Nanodegree Program.

About

For this project I built a User Management App with following features:

  • View, Add, Edit or Delete Users (CRUD operations)
  • Dashboard
  • Google authentication
  • Authorization to edit/update only those Users that you created
  • Generate random User data via API

Note: Google Account is required to Sign In to the app to Add, Edit or Delete Users. All other features available without sign in.

Each User has basic information along with its Type (New, Promotion, Pay-As-You-Go, Subscribed, Inactive, Cancelled).

There are two tables:

  • User (to hold all Users)
  • Type (to hold all Types of Users)
User table
id PK first_name last_name email gender dob phone address city state country post register_date type_id FK picture
1 Don Arnold [email protected] M 1970-03-05 (973)-130-6982 3741 Spring St Eugene New York US 12594 2013-05-13 1 picture_url
Type table
id PK type
1 new

How to setup

Install VirtualBox and Vagrant.

Clone this repo into user-app folder:

$ git clone https://github.com/dimak1/udacity-fsnd-project4.git user-app

How to run

Start virtual machine and log in to it:

$ cd user-app
$ vagrant up
$ vagrant ssh

In case of any issues, see Troubleshoot Guide below.

Once logged in, populate database and run the app:

$ cd /vagrant
$ python3 populate_database.py
$ python3 application.py

Go to application at http://localhost:5000/

Screenshots

Home Page

View Users Page

Troubleshoot Guide:

If vargrant is not starting up, run vagrant global-status and then vagrant halt <id> or vagrand destroy <id> on vagrant machines that are not needed anymore. Run vagrant up again.

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.