- Operating System: Windows, macOS, or Linux
- Minimum RAM: 4 GB
- Minimum Disk Space: 10 GB
- Screen Resolution: At least 1920x1080 pixels
- Install Visual Studio Code or any other Text Editor you prefer.
- Download and install Node.js version 20.9.0
- Download and install Golang version 1.21.5
- Download and install Xampp version 8.0.30
- Open Terminal or Command Prompt and navigate to the directory where you want to install the project.
- Clone the project from GitHub using the command:
git clone https://github.com/flexix-developer/CE66-17-WebFrontendBuilder.git
- Navigate to the cloned folder. You'll find frontend, backend folders, and a docker-compose.yml file.
- For Web Application, go to the frontend folder.
- Use the command
npm install
to install the required dependencies. - Use the command
npm start
to open the website in your browser. - For Web Server, open Xampp and start
Apache
andMySQL
modules. - Open your browser and go to http://localhost/phpmyadmin/ to create a database named
backend_db
with Collation asutf8mb4_general_ci
. - For API Server, go to the backend folder.
- Open the .env file and verify the correctness of
MYSQL_DNS
, which should beroot:@tcp(127.0.0.1:3306)/database_db?charset=utf8mb4&parseTime=True&loc=Local
. - Open the main.go file and and verify the correctness of
r.RUN()
, which should ber.RUN("localhost:8081")
- Use the command
go get .
to install the required libraries. - Use the command
go run .
to start the API Server. - Access the website through your browser by visiting http://localhost:3000/
- Operating System: Windows, macOS, or Linux
- Minimum RAM: 8 GB
- Minimum Disk Space: 15 GB
- Screen Resolution: At least 1920x1080 pixels
- Install Visual Studio Code or any other Text Editor you prefer.
- Install Docker Desktop, which can be downloaded from Docker's official website
- Install Docker Compose, which can be downloaded from Docker's official documentation
- Open Terminal or Command Prompt and navigate to the directory where you want to install the project.
- Clone the project from GitHub using the command:
git clone https://github.com/flexix-developer/CE66-17-WebFrontendBuilder.git
- After cloning, you will find frontend, backend folders, and a docker-compose.yml file.
- Configure the API Server to connect to the Database by navigating to the backend folder.
- Open the .env file and verify the correctness of
MYSQL_DNS
, which should beroot:root@tcp(database:3306)/database_db?charset=utf8mb4&parseTime=True&loc=Local
- Open the main.go file and and verify the correctness of
r.RUN()
, which should ber.RUN("0.0.0.0:8081")
- Use the command
docker-compose up -d
ordocker compose up -d
to automatically create containers. - Access the website through your browser by visiting http://localhost:3000/