Skip to content
/ fyyur Public

Fyyur is a musical venue and artist booking site that facilitates the discovery and bookings of shows between local performing artists and venues.

Notifications You must be signed in to change notification settings

hayanj/fyyur

Repository files navigation

fyyur: Artist Booking Site

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.

Getting Started

Pre-requisites and Local Development (macOS)

Developers who wishes to work on this project should already have Python3, pip, HTML, CSS, and Javascript with Bootstrap 3 installed.

Backend

Tech stack includes:

  • 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 and Flask as our server language and server framework
  • Flask-Migrate for creating and running schema migrations
Initialize and activate a virtualenv
python -m virtualenv env
source env/bin/activate
Install the dependencies

From the backend folder, you can download and install the dependencies mentioned above:

pip install -r requirements.txt
Run the development server
export FLASK_APP=flaskr
export FLASK_ENV=development
flask run
  • bash export FLASK_APP=flaskr this command will insure that Flask is going to use init.py in our flaskr folder.
  • bash export FLASK_ENV=development this command will insure that we will be working in development mode, which will show us an interactive debugger in the console and resart the server whenever a change is made.
  • bash flask run this command will start the application.

The application is running on http://127.0.0.1:5000/ by default and is a proxy in the frontend configuration.

Frontend

To install Bootstrap 3, from frontend folder run:

npm init -y
npm install bootstrap@3

From the frontend folder, run

npm install // only once to install dependencies
npm start 

By default, the frontend will run on http://127.0.0.1:3000/.

About

Fyyur is a musical venue and artist booking site that facilitates the discovery and bookings of shows between local performing artists and venues.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published