Skip to content

RESTful spring/angular app for CRUD operations. Web-based project management application.

Notifications You must be signed in to change notification settings

FanJups/manago-project-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to develop with Docker?

Prerequisites:

- docker
- docker-compose
- npm
- node 8
- mvn
- java 8

Run server with mysql5 image:

$ cd docker/
$ docker-compose -f docker-compose-mysql.yml up
$ cd ../spring-backend/
$ mvn spring-boot:run -Dspring-boot.run.profiles=mysql

Run server with H2 in-memory db:

$ cd ../spring-backend/
$ mvn spring-boot:run

Develop with IntelliJ Idea:

  • import project using pom.xml file
  • run -> edit configurations
  • select environment
  • pass spring profile to VM options -Dspring-boot.run.profiles=<my_profile_here>. (If you want to use H2 create/drop database then do not specify spring profile and leave VM options input empty. If you wish to use it alongside mysql docker image then use mysql profile. Eventually, if you want to run a full-stack application, skip this section and navigate to How to run in Docker)
  • apply changes and hit run

Running frontend:

  • follow instructions in 'Run server with mysql5 image'
  • navigate to frontend/ directory
  • $ npm i && npm start
  • app is available at localhost:4200

Access PHPMyAdmin:

Visit localhost:8000 and login as root root

How to run in Docker?

not yet implemented

About

RESTful spring/angular app for CRUD operations. Web-based project management application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published