GithubHelp home page GithubHelp logo

nd004-build-an-item-catalog's Introduction

Project: Build an Item Catalog

screenshot

An application that provides a list of items

Table of Contents

Install

Docker Compose is required to run the script. Please refer to Install Docker Compose if you don't have one on your system.

Then, clone this repository:

$ git clone https://github.com/wulab/nd004-build-an-item-catalog.git

You also need to have OAuth 2.0 client ID set in docker-compose.yml file. See Setting up OAuth 2.0 for instructions. The redirect URI should be http://localhost:8000/oauth2callback.

Usage

To run the app, issue the following command:

$ cd nd004-build-an-item-catalog
$ docker-compose up

The command will create an app service and start Flask built-in server on port 8000. You will need to seed its SQLite database with initial data:

$ docker-compose exec app flask initdb

Then, point your browser at http://localhost:8000/ to start using the app.

Press Ctrl+C to stop the service. If you want to clean up everything, use:

$ docker-compose down --rmi local --volumes

Contribute

PRs not accepted. However, you can fork this repository and modify it under your account. To facilitate app development, there's a docker-compose.development.yml file you that can use. It will mount your app/src directory to the one in the container which you can edit.

$ docker-compose -f docker-compose.yml -f docker-compose.development.yml up

License

MIT © Weera Wu.

nd004-build-an-item-catalog's People

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.