To see the app: https://167.99.133.190:3000
This project contains the backend for a Django application using MySQL as the database.
Before running this project, make sure you have the following installed on your machine:
-
Clone the repository:
git clone https://github.com/bounswe/bounswe2024group12.git
-
Navigate to the backend folder:
cd app/backend
-
Build and start the Docker containers in the background:
docker-compose up --build -d
This will start two services:
web
: The Django backend service running on port8000
.db
: The MySQL database service running on port3306
.
-
View logs to monitor the process:
To view the logs for any service, run:
docker-compose logs
-
Apply the database migrations:
docker-compose exec web python manage.py migrate
-
Access the application:
- The application will be running at:
http://localhost:8000
- The Django admin panel will be available at:
http://localhost:8000/admin
- The application will be running at:
-
Stop the containers:
To stop the containers, run:
docker-compose down
-
Show the docker containers:
To show the docker containers, run:
docker ps
This project contains the frontend for a React application.
Before running this project, make sure you have the following installed on your machine:
- Docker
- Git
-
Clone the repository:
git clone https://github.com/bounswe/bounswe2024group12.git
-
Navigate to the frontend folder:
cd app/frontend
-
Build the Docker image: First, ensure Docker is running. Then, build the Docker image for the React frontend:
docker build -t frontend-app .
-
Run the Docker container: After building the Docker image, run the container to start the frontend:
docker run -p 3000:3000 frontend-app
-
Access the application: Once the container is running, you can access the application in your browser at:
This project contains the mobile app for an Android application.
Before running this project, make sure you have the following installed on your machine:
- Docker
- Git
-
Clone the repository:
git clone https://github.com/bounswe/bounswe2024group12.git
-
Navigate to the mobile folder:
cd project/Mobile
-
Install dependencies
npm install
-
Start the app
npx expo start
In the output, you'll find options to open the app in a
- development build
- Android emulator
- iOS simulator
- Expo Go, a limited sandbox for trying out app development with Expo