With the help of Spring Boot the project has multiple environments e.g.: dev, prod, test that facilitates working with different teams, eliminates errors and wasted time.Relational database (MySQL) is uses in prod. env. and for test/dev uses In-memory database (H2). -The application was developed through Test Driven development (TDD) using Junit. -Images with the final status of the application can be found in the description section ofGitHub as well as the Documentation API (Swagger) by accessing http://localhost:8080/swagger-ui.html#/
- Run
package com.hoaxify.hoaxify.HoaxifyApplication
as a Java Application. Check Authentication and REST API Sections for executing REST APIs. - The project presents 2 development environments, one of development and one of production. These are set from the configuration file before starting
application.yml
and sending emails frompackage com.hoaxify.hoaxify.shared.AmazonSES
. URL+PORThttp://localhost:3000/
and for production athttp://hoaxify-frontend.s3-website.eu-west-3.amazonaws.com
or what environment you have hosted.
- React Application - Import
https://github.com/TomaEduard/hoaxify-frontend
into Visual Studio Code. The development environment is set using the constant located inseci api \ apiCalls.js
. Here we have 2 constants, one of production and one of test, one comments what is not used and changes and poxy offered by webpack located inpackage.json
with the content of the variable used. - Run
yarn install
followed byyarn start
, it also works withnpm install
andnpm start
- http://localhost:4200/ with credentials email: [email protected] password: P4ssward
- http://localhost:3000/h2-console
- Use
jdbc:h2:mem:testdb
as JDBC URL
- Login Page
- SignUp Page
- Feed Tab
- Preferences Tab
- Explor Tab
- Profile Page
- Profile Page - Security TAb