Consists of an API to make the job of scheduling classes in the Regibox app easier.
Explore the Website
Report Bug
·
Request Feature
Table of Contents
This project was developed to make scheduling classes in the Regibox app easier. It has all the necessary tools to send requests to the Regibox API and get the necessary information to schedule classes. It also has a web interface to make the process easier.
This project uses requests to send and receive data from the Regibox. It also uses a web interface to make the process easier.
If you only want the api to communicate with the Regibox, you can use the Regybox_API.py file under base folder. If you want to use the web interface, follow the next steps
- To install the project, clone the repository:
git clone https://github.com/andrefdre/RegyBox_API.git
- Install the requirements:
cd backend
pip install -r requirements.txt
- Create a .env file in the backend folder with the following variables:
SECRET_KEY=your_secret_key
- Create a .env file in the frontend folder with the following variables:
REACT_APP_BACK_END_IP = your_ip_address
- Make Migrations for the app
python3 manage.py makemigrations
- Migration
python3 manage.py migrate
- Install the frontend dependencies
cd ..
cd frontend
npm install
- Run the server and the frontend
npm start_both_apps
If you want to run the server and the frontend separately, you can use the following commands:
npm start-react
npm start-django
To access the web interface, go to http://localhost:3000
docker-compose up --build
To run the docker container in the background, you can use the following command:
docker-compose up -d
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the GPL License. See LICENSE.txt
for more information.
André Cardoso - [email protected]
Project Link: RegyBox API