-
MySQL installed (prerequisite)
-
Create database with name - "att"
-
VSCode extensions:
-
Name: SQLTools
- Id: mtxr.sqltools
- Link:https://marketplace.visualstudio.com/items?itemName=mtxr.sqltools
-
Name: SQLTools MySQL/MariaDB/TiDB
- Id: mtxr.sqltools-driver-mysql
- Link:https://marketplace.visualstudio.com/items?itemName=mtxr.sqltools-driver-mysql
-
Name: Prettier SQL VSCode (Recommended)
- Id: inferrinizzard.prettier-sql-vscode
- Link:https://marketplace.visualstudio.com/items?itemName=inferrinizzard.prettier-sql-vscode
-
-
Connect to 'att' database using SQLTools in VSCode by adding:
- Connection name
- Port
- Database name
- Username
- Password
-
Create a '.env' file & fill the env values:
HOST = "<HOST_NAME>"
SQL_PORT = "<SQL_PORT>"
USER = "<USER_NAME>"
PASSWORD = "<PASSWORD>"
DATABASE = "<DB_NAME>"
PORT = PORT_NO
-
Go to /schema and start executing queries by clicking "Run on active connection" in each block (--@block) in the 'db.session.sql'.
-
Clone the project to your local machine.
-
Run
npm install
-
Run
npm run dev
in root folder.