Skip to content

TahaHameed23/Academic-Dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

Setup DB

  1. MySQL installed (prerequisite)

  2. Create database with name - "att"

  3. VSCode extensions:

    1. Name: SQLTools

    2. Name: SQLTools MySQL/MariaDB/TiDB

    3. Name: Prettier SQL VSCode (Recommended)

  4. Connect to 'att' database using SQLTools in VSCode by adding:

    • Connection name
    • Port
    • Database name
    • Username
    • Password
  5. 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

  6. Go to /schema and start executing queries by clicking "Run on active connection" in each block (--@block) in the 'db.session.sql'.

Setup project

  1. Clone the project to your local machine.

  2. Run npm install

  3. Run npm run dev in root folder.