It is a web application with login / logout / register functionality which tracks the activities of user on Stackoverflow website and generates visualization to discover patterns in the data collected.
- Backend for this application was developed using Spring Boot which creates REST APIs.
- Postgres is the database used to persist the data.
- Frontend for this application was developed using React, a JavaScript library.
- Visualization were created using Recharts library.
- Install Postgres Database
- Default user should and will be "postgres"
- Create a database named "AdaptiveWeb" or Run file CreateAndConnectToDBScript.sql inside db-scripts folder to do that.
- Run file TableCreationAndDataInsertScript.sql to create tables and insert data.
- CD into the "userprofile" folder.
- Run "mvn clean install" (Maven has to be installed)
- Run "java -jar target/userprofile-0.0.1-SNAPSHOT.jar" and the backend server will be up and running on http://localhost:9090
- Yarn has to be installed (https://yarnpkg.com/en/docs/install#windows-stable)
- CD into the app folder.
- Run "yarn install"
- Run "yarn start" and now the front-end application will be running at http://localhost:3000/
- Go to chrome browser (More tools -> extensions)
- Drag and drop the ext folder onto this page
- Extension will be installed and allow the extension to run in developer mode
- Go ahead and hit the application at http://localhost:3000/
- Users aaa, bbb, ccc are already created with password as "123".
- New users can be registered from the registration page.
- Wrong password or trying to register the existing the user will not make the application move to home page to display login history or visualizations.