Skip to content

Excel-MEC/Excel-Accounts-Service

Repository files navigation

Excel Account Service

Excel Account Service is for providing Authentication and to manage user account for different services in Excel Platform.

It has two sub modules

Setting up Development Environment

Requirements:

  • You must have docker installed to run the application
  • To install docker follow this documentation

Cloning the repository:

Direct contribution to the repository is not allowed. So you must first fork the repository and then to clone the repository with the submodules, do:

$ git clone --recurse-submodules -j8 https://gitlab.com/<YourUsername>/Excel-Account-Service.git

Running the Application:

To run the Application, make sure no processes are running in the following ports in localhost,

  • :80
  • :5000
  • :3000
  • :5432

Then build and run the following commands at the root of the repository

Build:
$ docker-compose build
Run:
$ docker-compose up
Run in background:
$ docker-compose up -d

Verify the application is running by visiting following route in the browser.

http://localhost

You can verify the individual services by visiting the routes

http://localhost:3000  (Frontend)
http://localhost:5000  (Backend)

Stoping the Application

If you started the application by running the command docker-compose up press Ctrl+c on windows or Cmd+c on mac to stop. If the application is running in background, stop it by running,

$ docker-compose stop
To bring all the containers down:
$ docker-compose down

Documentation

Api Documentation

The backend api documentation is automatically generated using swagger, you can view it by navigating to the route,

http://localhost/api/swagger

Todos

  • Lol lot to do.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published