GithubHelp home page GithubHelp logo

udacity-fyyur-project's Introduction

πŸŽΌπŸŽ™πŸŽΈπŸŽΆπŸŽŸ Fyyur πŸŽΌπŸŽ™πŸŽΈπŸŽΆπŸŽŸ

Introduction

Fyyur is a musical venue and artist booking site that facilitates the discovery and bookings of shows between local performing artists and venues. This site lets you list new artists and venues, discover them, and list shows with artists as a venue owner.

My job was to build out the data models to power the API endpoints for the Fyyur site by connecting to a PostgreSQL database for storing, querying, and creating information about artists and venues on Fyyur.

Overview

This app is nearly complete. It is only missing one thing… real data! I'm using a PostgreSQL database.

TO DO'S WHERE DONE πŸ±β€πŸ’»

  • βœ… Creating new venues, artists, and creating new shows.
  • βœ… Searching for venues and artists.
  • βœ… Learning more about a specific artist or venue.
  • βœ… Using SQLAlchemy, set up normalized models for the objects we support in our web app in the Models section of app.py
  • βœ… Implement missing model properties and relationships using database migrations via Flask-Migrate.
  • βœ… Implement form submissions for creating new Venues, Artists, and Shows.
  • βœ… Implement the controllers for listing venues, artists, and shows.
  • βœ… Implement search, powering the /search endpoints that serve the application's search functionalities.
  • βœ… Serve venue and artist detail pages, powering the <venue|artist>/<id> endpoints that power the detail pages.

We did make that happen!πŸŽ‰

Tech Stack (Dependencies) πŸ‘©β€πŸ’»

1. Backend Dependencies

Our tech stack will include the following:

  • πŸ’» virtualenv as a tool to create isolated Python environments
  • πŸ›… SQLAlchemy ORM to be our ORM library of choice
  • πŸ“š PostgreSQL as our database of choice
  • 🐍 Python3
  • πŸ§ͺ Flask as our server language and server framework
  • 🧰 Flask-Migrate for creating and running schema migrations You can download and install the dependencies mentioned above using pip as:

2. Frontend Dependencies

You must have the HTML, CSS, and Javascript with [Bootstrap 3].

Main Files: Project Structure

β”œβ”€β”€ README.md
β”œβ”€β”€ app.py *** the main driver of the app. Includes your SQLAlchemy models.
    "python app.py" to run after installing dependences
β”œβ”€β”€ config.py *** Database URLs, CSRF generation, etc
β”œβ”€β”€ error.log
β”œβ”€β”€ forms.py *** Your forms
β”œβ”€β”€ requirements.txt *** The dependencies we need to install with "pip3 install -r requirements.txt"
β”œβ”€β”€ static
β”‚Β Β  β”œβ”€β”€ css 
β”‚Β Β  β”œβ”€β”€ font
β”‚Β Β  β”œβ”€β”€ ico
β”‚Β Β  β”œβ”€β”€ img
β”‚Β Β  └── js
└── templates
    β”œβ”€β”€ errors
    β”œβ”€β”€ forms
    β”œβ”€β”€ layouts
    └── pages

ROOT OF THIS ACADEMIC PROJECT

⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇

Development Setup πŸ”¨β›πŸ”©πŸ§±πŸ§°πŸ”Œ

  1. Download the project starter code locally
git clone https://github.com/udacity/FSND.git
cd FSND/projects/01_fyyur/starter_code 
  1. **Create an empty repository in your Github account online.

  2. Initialize and activate a virtualenv using:

python -m virtualenv env
source env/bin/activate

Note - In Windows, the env does not have a bin directory. Therefore, you'd use the analogous command shown below:

source env/Scripts/activate
  1. Install the dependencies: πŸ•³
pip install -r requirements.txt
  1. Run the development server: πŸ’¨
export FLASK_APP=myapp
export FLASK_ENV=development # enables debug mode
python3 app.py
  1. Verify on the Browser
    πŸ₯‚πŸ’»πŸ“± Navigate to project homepage http://127.0.0.1:5000/ or http://localhost:5000 πŸ±β€πŸš€

πŸ–Ό Good luck 😊

udacity-fyyur-project's People

Contributors

steffaru avatar

Stargazers

 avatar

Watchers

 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.