Skip to content

University Software Engineering Group Project on creating a sports centre management system

Notifications You must be signed in to change notification settings

Ernest0828/Sports-Centre-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Review Assignment Due Date Open in Codespaces

// To create the database on local storage
FROM: (https://www.microfocus.com/documentation/idol/IDOL_12_0/MediaServer/Guides/html/English/Content/Getting_Started/Configure/_TRN_Set_up_PostgreSQL.htm)

  1. Download and install a PostgreSQL server. For instructions, refer to the PostgreSQL documentation on www.postgresql.org.
  2. Add the PostgreSQL bin directory path to the PATH environmental variable.
  3. Open the psql command-line tool:
    In the Windows Command Prompt, run the command:
    psql -U postgres
    Enter your password when prompted (On our code, we set the password to hogwarts6393)
  4. Run a CREATE DATABASE command to create a new database (On our code, we set the db name to be gymCorp)
    CREATE DATABASE gymCorp WITH ENCODING 'UTF8' LC_COLLATE='English_United Kingdom' LC_CTYPE='English_United Kingdom';

// To run our server

  1. Open the terminal/command prompt, navigate to the server directory and install the packages :
    cd server
    npm i
  2. Navigate to the database directory:
    cd database
  3. Start the database server by running the following command:
    node index.js
  4. Once the database server is running, go back to the server directory by running:
    cd ..
  5. Create the necessary tables and data by running the following command:
    node createData
  6. Start the server by running the following command:
    nodemon app.js

// To run our client

  1. Open the terminal/command prompt, navigate to the client directory and install the packages:
    cd client
    npm i
  2. Start the client by running the following command:
    npm start

// Once web app is launched
Log in as existing user:
email : [email protected]
password : test123

Log in as existing staff:
email : [email protected]
password : test123

Log in as existing manager:
email : [email protected]
password : test123

About

University Software Engineering Group Project on creating a sports centre management system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published