Skip to content

Latest commit

 

History

History
48 lines (29 loc) · 2.67 KB

README.md

File metadata and controls

48 lines (29 loc) · 2.67 KB

Running the Application

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 from package com.hoaxify.hoaxify.shared.AmazonSES. URL+PORT http://localhost:3000/ and for production at http://hoaxify-frontend.s3-website.eu-west-3.amazonaws.com or what environment you have hosted.

Front end code

  • React Application - Import https://github.com/TomaEduard/hoaxify-frontend into Visual Studio Code. The development environment is set using the constant located in seci 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 in package.json with the content of the variable used.
  • Run yarn install followed by yarn start, it also works with npm install and npm start
  • http://localhost:4200/ with credentials email: [email protected] password: P4ssward

H2 Console in dev environment

Screenshots

  1. Login Page

Login Page

  1. SignUp Page

SignUp Page

  1. Feed Tab

Feed Tab

  1. Preferences Tab

Preferences Tab

  1. Explor Tab

Explor Tab

  1. Profile Page

Profile Page

  1. Profile Page - Security TAb

Profile Page - Security TAb