DevAbdoTolba / AAA-AAST-WEB_Project

Home Page:https://aaa-aast-web-project.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🔰installation

Before you begin, ensure you have met the following requirements:

  • You have installed the latest version of Docker. If not, please follow these guides to install Docker on Windows, Mac, or Linux.
  • You have installed the latest version of Node.js. If not, please follow these guides to install Node.js on Windows, Mac, or Linux.

📀 Starting the Backend and Database

  1. Open your terminal and navigate to your project directory. Or in vscode open the terminal by clicking Ctrl j

  2. Run the following command to start Docker:

    > docker-compose up

Wait for everything to start up. The backend should now be running on port 8700 and the database on port 3606.


🛢️Database Admin

open a new terminal and run :

    > docker exec -it aaa-aast-web_project-back-mysql-1 mysql -p

You will be given something like :

    > docker exec -it aaa-aast-web_project-back-mysql-1 mysql -p
Enter password:

Enter the password given in the Docker Compose file. In our case, the default password is root.

mysql>

Now you have admin access to the database. Start by typing:

mysql> USE db

db is the default database name set by the first init. You can also use SHOW TABLES to check the tables in the database and interact with them.


🖥️ Starting the Frontend

  1. Open your terminal and navigate to your project directory.
  2. Run the following command to install the dependencies:
    > npm i
  1. After the installation is complete, start the frontend by running:
    > npm run dev

That's it! Happy coding!

About

https://aaa-aast-web-project.vercel.app


Languages

Language:TypeScript 60.7%Language:PHP 18.0%Language:HTML 10.5%Language:CSS 10.3%Language:Dockerfile 0.3%Language:JavaScript 0.1%Language:Makefile 0.1%