Skip to content

samuelgjy/database-project

 
 

Repository files navigation

database-project

This database project is a sample car rental website that utilizes both MySQL and Firebase.

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • Install packages with pip
    pip install -r requirements.txt
  • Ensure that you have all the required credentials of the databases to run the code sucessfully

Installation

  1. Clone the repository:

    git clone https://github.com/cherylthy/database-project
  2. Start to execute the code in the main.py folder after installing all required packages
    Open a terminal or command prompt, navigate to the directory containing the main.py file, and execute the file using the Python interpreter.

    (venv) PS ...\database-project> python main.py

    Should output as:

      * Serving Flask app 'main'
      * Debug mode: on
     WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
      * Running on http://localhost:5000 (will be localhost:8080 if run on mac)
     Press CTRL+C to quit
      * Restarting with watchdog (windowsapi)
      * Debugger is active!
      * Debugger PIN: 386-256-135
  3. Click on http://localhost:5000 to access the webpage or copy the link into your desired browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 47.7%
  • Tcl 24.5%
  • C 11.9%
  • CSS 6.7%
  • SCSS 5.6%
  • HTML 1.9%
  • Other 1.7%