Skip to content

nebur395/FitG-TFM

Repository files navigation

FitG

Build Status codecov

Start using this App!

In order to run this project you have to have installed node.js and npm. Once you have them, follow these steps:

  1. Clone this repo: git clone https://github.com/nebur395/FitG-TFM
  2. Open a terminal on the root folder of this project.
  3. Run the command npm install. This must be done the first time only, in order to install the dependencies of the project.
  4. Use the following command to start mongod: sudo service mongod start
  5. Run npm start in order to launch two instances of the server on port 8080 (HTTP) and 8443 (HTTPS). Alternatively, you can also use node server.js.
  6. Mobile client access: Run cd ionic;ionic serve in order to launch a mobile server. Espera a que el servidor de ionic este lanzado, abre un navegador web, y accede a la dirección http://localhost:8100.
  7. Desktop client access: Open a web browser and type http://localhost:8080 for the HTTP page, or https://localhost:8443 for the HTTPS equivalent.

Test

In order to run the Protractor tests of this project you have to follow these steps:

  1. Check that Protractor is working by running node_modules/protractor/bin/protractor --version.
  2. Now start up the Selenium Server: node_modules/protractor/bin/webdriver-manager start. This will output a bunch of info logs. You can see information about the status of the server at http://localhost:4444/wd/hub.
  3. Finally, execute node_modules/protractor/bin/protractor test/protractor/conf.js.

In order to run the Mocha tests of this project you only have to execute the following command: npm test

API DOC

In order to have a look at the project's API you have to follow these steps:

  1. Run npm start in order to launch the application.
  2. JSON: Open a web browser and type http://localhost:8080/swagger.json to display the application's API in a JSON.
  3. UI Web: Open a web browser and type http://localhost:8080/api-docs/ to display the application's API in a UI web.

EditorConfig

EditorConfig helps developers maintain consistent coding styles between different editors and IDEs. It is a file format for defining coding styles and a collection of text editor plugins that enable editors to read the file format and adhere to defined styles. You need to create a .editorconfig file in which you define the coding style rules. It is similar to the format accepted by gitignore.

IDEs supported by EditorConfig

These editors come bundled with native support for EditorConfig. Everything should just work: BBEdit, Builder, CLion, GitHub, Gogs, IntelliJIDEA, RubyMine, SourceLair, TortoiseGit, WebStorm.

IDEs not supported by EditorConfig file

To use EditorConfig with one of these editors, you will need to install a plugin: AppCode, Atom, Brackets, Coda, Code::Blocks, Eclipse, Emacs, Geany, Gedit, Jedit, Komodo, NetBeans, NotePadd++, PhpStorm, PyCharm, Sublime Text, Textadept, textmate, Vim, Visual Studio, Visual Studio Code, Xcode

About

My final master project and an application web of fitness goals control.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published