Skip to content

DB-Team-6/dbproject

Repository files navigation

Group-6-Project

Local enviroment setup

  • Git clone repository
  • Initialize client with npm init in the client folder press enter all through
  • Run npm install to install packages | reference (requirements.md)
  • Initialize server with npm init in the root folder press enter all through
  • Import Sql query to local database server (pizza.sql)
  • add a .env file in the root folder reference (requirements.md) for an example
    • DB_HOST=(database host) | depending on your database config
    • DB_PORT=(database port | only if the database is on a different port)
    • DB_USER=(database user) | depending on your database config
    • DB_PASS=(database passord) | depending on your database config
    • DB_DB=(database name) | used pizza
  • Run npm run dev to launch application