This project is part of a series of microservices that are in my repository in order to guide other developer regarding micro-services architecture in nodejs and on its group of services it will be included:
- development-tool => This project supports the developer to setup easily the (mongodb, mysql) databases which is used on this solution.
- token => It is a JWT token service which is used to control access to the main api acronyms.
- user-management => In order to use the apis that are not public it is needed to have a user and this service provides basic api routes which allows us to create the credentials.
- acronym => This is the core of this solution and provide acronyms.
The project was developed on ubuntu 18.04 and all the instructions in this guide are based on this linux distribution. Before proceeding it is needed that you have installed on your machine the following tools:
- nodejs => apt-get install nodejs
- npm => apt-get install npm
- Docker
- Docker compose
PS: It may be needed that you have to install some npm packages that are not installed as part of the project but globally:
In order to run the project in development mode it is required to execute the steps below:
- Access the project development-tool/setup;
- Grant execution permission to setup.sh: chmod +x setup.sh;
- Execute the script: ./setup.sh. (This will build all required docker images and launch them);
- docker ps and you should see all docker images up and running.