Skip to content

This is a modular user management application that follows microservices principles to separate the authentication and profile management functionalities. Leveraged technologies including HTML, CSS, JavaScript, PHP, MySQL, MongoDB, Redis, and jQuery AJAX.

Notifications You must be signed in to change notification settings

ashvinck/auth-profile-microservice-app

Repository files navigation

A demo of a simple microservice application

Description

This is a simple demo of a microservice architecture where in the flow is as below:

  • Registering a user -> using email and password.
  • Login-> using registered credentials.
  • Profile -> where the user can view and edit the basic profile information.

Components

  • Frontend is built using HTML,CSS,Bootstrap and Font Awesome Icons.
  • Interacting with the backend is only using JQuery AJAX (no usage of form submission)
  • Server-side scripting is with PHP
  • User credentials are stored in MYSQL Database.
  • Profile information is stored in MongoDB.
  • Client side session is maintained using browser localStorage.
  • Server side session is maintained using Redis.

Instructions

  • Download this repository.
  • Install XAMPP for PHP Development environment.
  • Move the downloaded repository to the path: :\xampp\htdocs.
  • Download the MongoDB_Compass and Redis.
  • Download the MONGODB and REDIS .dll files compatible with your PHP version.
  • Please Refer MONGO and Redis for installing extensions for XAMPP.
  • Download Composer.
  • For configuring Redis_Session_Handler.
  • Do update the redis port inplace of host1/host2 while configuring session_path
  • Open XAMPP Control Panel and start Apache server and MySQL server and open the Apache admin interface and type the path to the project directory. eg : localhost/auth-profile-microservice and the app gets started.

Demo

Alt text Alt text Alt text Alt text

About

This is a modular user management application that follows microservices principles to separate the authentication and profile management functionalities. Leveraged technologies including HTML, CSS, JavaScript, PHP, MySQL, MongoDB, Redis, and jQuery AJAX.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published