Skip to content

Latest commit

 

History

History
48 lines (39 loc) · 1.73 KB

readme.md

File metadata and controls

48 lines (39 loc) · 1.73 KB

Vresion Control

Angular CLI version used : 10.0.7
Java 17+

Folder Structure

  1. Java Project Contains backend logic
  2. frontend project contains angular project for UI

Extension required:

  1. Name: Spring Boot Extension Pack VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=vmware.vscode-boot-dev-pack
  2. Name: Extension Pack for Java VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-pack
  3. Name: Angular Language Service VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=Angular.ng-template
  4. Name: Lombok Annotations Support for VS Code VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-lombok
  5. Name: Extension Pack for Java VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-pack

How to run angular

  1. Open the folder frontend in terminal
  2. Run the command ng serve
  3. Open http://localhost:4200 in browser

How to build Angular for production

  1. Open the folder frontend in terminal
  2. Run the command ng build
  3. Open http://localhost:8080 in browser
  • Note: the build process will create files in dist folder. Please copy the new file names and paste in index.html

How to run Springboot

  1. To run the project open src\main\java\mes\projectty\collegevoting\CollegevotingApplication.java
  2. Click on run or debug
  3. Open http://localhost:8080 in browser

Setup

  1. Open application.properties
  2. Change the mysql link to desired link
  3. change the username and password accordingly
  4. Create schema(Demo) in database with the name 'college_election'

For information Contact Mahadev Parsekar Team Lead Software Sierra Circuits pvt. ltd.