Skip to content

Meep220/Appdev_Final_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dependencies

  • Java 8 JDK
  • Embedded Tomcat 9 server
  • MySQL Database
  • NPM
  • Maven

Installation

Backend

  • Import the backend from this repo with option "import existing maven project".
  • Build the maven project to install all the required dependencies.
  • To setup database, install MySQL. Make any database.
  • Then update below three configuration fields in file application.properties inside /resources folder
spring.datasource.url=jdbc:mysql://localhost:3306/tms
spring.datasource.username=root
spring.datasource.password=root
  • For email services you need to use email via SMTP. For that you need to update application.properties below fields.
spring.mail.host=smtp.gmail.com
spring.mail.smtp.ssl.trust=smtp.gmail.com
spring.mail.port=587
spring.mail.transport.protocol=smtp
spring.mail.username=your.email@gmail.com
spring.mail.password=password`
  • Run the project from BackendApplication.java, all the tables will be initialised in database with its first run.
  • Now execute roles.sql on your database.

Frontend

  • have node.js installed on your system.
  • GOTO the path of frontend folder in comand-prompt and run node --openssl-legacy-provider ./node_modules/@angular/cli/bin/ng serve
  • Now your frontend will be hosted on http://localhost:8001.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors