This project is an open source web application that let the user create a digital whiteboard for planing tasks in craft businesses.
- Node.js
- Maven
- Java 1.8
- Git
- Run
git clone https://github.com/huma23/AMOS-SS18-Team4.git
- Create a new Google App Engine Project
- Insert your project id into
src\main\webapp\WEB-INF\appengine-web.xml
- Insert your project id into
pom.xml
- Insert your secret for token creation into the class
src\main\java\de\amos\mamb\session\TokenManager.java
src
- root source directory for backend and frontendsrc\main\java\
- source directory for the java backendsrc\main\angular\
- source directory for the angular frontendngtarget
- output directory for the frontend application (will be copied tosrc\main\webapp
on deployment)target
- output directory for the war-file
Note:
- The dependencies of the backend application are controlled via maven in the project root directory
- The dependencies of the frontend application are controlled via npm in the
src\main\angular\
directory.
Run mvn appengine:devserver
Note: Some features (like datastore) can not be used local at the moment.
Run mvn appengine:update
Install Cors Extension to Allow Control-Allow-Origin to enable calls to extern Web Domains.
Run ng serve
within angular folder.
The Application will forward your call from /api to an running Backend instance,
the adress can be modified within environments/environment.ts
TODO