Giter VIP home page Giter VIP logo

fyurr-booking-site's Introduction

Fyurr - musical artist and venue booking website

Overview

Fyurr is a musical artist and venue booking website created for the Full Stack Developer Nanodegree at Udacity. The goal of the project was to:

  • Connect the existing backend to a database
  • Implement data models to store artist and venue data
  • Create migration scripts to build all necessary database tables
  • Replace all mock data with real data inserted to / queried from the database

The site runs on localhost and was created only for educational purposes.

Homepage of Fyurr

Tech stack

  • SQLAlchemy ORM as the ORM library
  • PostgreSQL as the database of choice
  • Python3 and Flask as the server language and server framework
  • Flask-Migrate for creating and running schema migrations
  • HTML, CSS, and Javascript with Bootstrap 3 for the frontend

Main files: Project Structure

├── README.md
├── app.py *** the main driver of the app. Includes the SQLAlchemy models.
                  "python app.py" to run after installing dependences
├── config.py *** Database URLs, CSRF generation, etc
├── error.log
├── forms.py *** All forms
├── requirements.txt *** The dependencies necessary to install with "pip3 install -r requirements.txt"
├── static
│   ├── css 
│   ├── font
│   ├── ico
│   ├── img
│   └── js
└── templates
    ├── errors
    ├── forms
    ├── layouts
    └── pages

Development Setup

To start and run the local development server, Initialize and activate a virtualenv:

$ cd YOUR_PROJECT_DIRECTORY_PATH/
$ virtualenv --no-site-packages env
$ source env/bin/activate

Install Flask & other dependencies:

$ pip install Flask
$ pip install -r requirements.txt

Run the development server:

$ export FLASK_APP=myapp
$ export FLASK_ENV=development # enables debug mode
$ python3 app.py

Navigate to Home page: http://localhost:5000

fyurr-booking-site's People

Contributors

gyadam avatar

Watchers

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