Skip to content

fire2711/Know-Your-Vibe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Know-Your-Vibe

Wonder what kind of songs you listen? Looking for something new? Use Viber. Know your Vibe :)

Project Setup Instructions

This project consists of a client and a server folder. To set up the development environment, follow the instructions below for each folder.

Prerequisites

  • Ensure you have Node.js installed. You can check by running node -v and npm -v in your terminal.
  • Ensure you have Python installed (version 3.6 or higher). You can check by running python --version or python3 --version in your terminal.

Client Setup

  1. Open your terminal and navigate to the client folder.
  2. Run the following command to install the required packages:
    npm install
    

Server Setup

  1. Open your terminal and navigate to the server folder.
  2. Run the following commands to install the necessary Python packages:

Update pip to the latest version

python -m pip install --upgrade pip

Install Flask for the server

pip install flask

Optional: Install Flask-CORS

pip install flask-cors

Install additional packages

pip install requests
pip install python-dotenv

Running the Client and Server

To do this, you will need to have two terminals open.

Terminal 1 -- Running the Client:

Navigate to the client folder. Start the client with:

npm start

Terminal 2 -- Running the Server:

Navigate to the server folder. Start the server with:

python app.py 

Troubleshooting:

Common issues with client:

  • Node.js Documentation
  • Missing dependencies

Common issues with server:

  • npm or node missing. node -v npm -v to check for your node and npm versions. If you suspect that you have these downloaded, refresh your Integrated Development Environment (IDE).

  • Flask Documentation

  • Python Packaging Guide

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors