We built an all-in-one solution that allows gyms to manage their branches, services, equipment, and clients! We decided to call our project Olympia.
- Download and install node.js (We're using v16.14.0).
- cd into the
/web
directory - run
npm install
- make a file called
.env.local
in/web
and add this line to itNEXT_PUBLIC_BASE_URL="http://localhost:5000"
!important - run
npm run dev
- goto http://localhost:3000/
- Download and install python
- Install Necessary External Libraries using pip:
- Flask
- flask-cors
- app
- flask-mysql
- PyMySQL
- pyjwt
- bcrypt
- Ensure the host and password matches your MySQL server in the config.py file.
- Simply run main.py from //BackEnd/API/
- Note: The API runs on localhost port 5000 by default
- Download and Install MySQL and MySQL-workbench (https://dev.mysql.com/downloads/)
- You need MySQL(Server,Shell,Router,Workbench) and Connector/Python
- Perform the necessary steps to launch a local MySQL server on your machine
- Import our Database from the //Backend/Dumps directory [LATEST_DUMP_11_04_2022.sql]
- You can do this by clicking Server -> Data Import -> from Self-Contained file
- Simply ensure that the server is running on a local port (dependant on OS).
- Windows uses a service model, so ensure the service is running.