TODO application is used for daily task management. It enables users to add, delete and complete TODO items.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Java Development Kit [https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html]
- Java IDE, preferably Eclipse Java EE IDE for Web Developers [https://www.eclipse.org/downloads/]
- MySQL Database Server [https://netbeans.org/kb/docs/ide/install-and-configure-mysql-server.html]
- MySQL Workbench for database access (not mandatory) [https://dev.mysql.com/downloads/workbench/]
- Node.js [https://nodejs.org/en/]
- Text editor, preferably Visual Studio Code [https://code.visualstudio.com/Download]
- Import 'todoapp-backend' in Java IDE (File->Import->General->Existing Projects into Workspace)
- Run the application as Spring Boot App
- Test if REST APIs are successfully exposed (using Postman, Mozilla RESTClient, or some other tool) Notes:
- List of available endpoints can be seen in controllers (src\main\java\com\scvetkovic\todoapp\web\controller)
- Four todo items are provided as test data
- After restarting server, database will be again in initial state (in order to change this see 'spring.jpa.hibernate.ddl-auto' in application.properties)
- Open project 'todoapp-frontend' in some text editor, preferably Visual Studio Code
- Install dependencies. Make sure you have nodejs installed in your system ($ npm install)
- Run the project ($ ng serve)
- Application should be available at http://localhost:4200/
- Spring Boot - The web framework used for exposing APIs
- Maven - Dependency Management
- Angular 8 - Used for building user interfaces