Skip to content

JackMaarek/aio-group3-proj01

 
 

Repository files navigation

CI status

ELM-Project

  • Front-end is developed in Elm language
  • Back-end uses Phoenix framework
  • Docker-compose configuration
  • AWS Infrastructure scheme

Requirements

If you use docker you will only need:

  • Docker;
  • Docker-Compose;

If not, to run this project, you will need to install the following dependencies on your system:

Project setup

Without docker :

To setup the project refer to both documentation

With docker :

Refer to the DOCKER.md for setup

Use advice

Before creating an image, you must at least have two categories in order for the select options to work.

Development process

  1. Most of the time assign a ticket on the application board to you. If it is not the case and you are told to do it yourself, assign the github ticket to you.
  2. When you start working on the ticket, move the concerned ticket to In Progress.
  3. Create a branch specifically for this ticket with a name that follows the conventions specified below.
  4. Commit regularly at each significant step with unambiguous commit messages (see COMMIT_CONVENTIONS file).
  5. Create a merge request that follows the conventions specified below to the develop branch.
  6. On the appplication board, move the ticket to the status In Review
  7. Assign the merge request to a maintainer
  8. It may take some back and forth before your pull request is validated
  9. Your pull request will then be merged into the develop branch and the concerned ticket will be moved to Done

Pull requests (PR)

Pull requests in this project follow two conventions, you will need to use the templates available in the ISSUE_TEMPLATE folder :

If your merge request is still work in progress, please add "WIP: " (Work In Progress) in front of the title, therefor you inform the maintainers that your work is not done, and we can't merge it.

The naming of the PR should follow the same rules as the COMMIT_CONVENTIONS

Branch naming convention

You branch should have a name that reflects it's purpose.

It should use the same guidelines as COMMIT_CONVENTIONS (feat, fix, build, perf, docs), followed by an underscore (_) and a very quick summary of the subject in kebab case.

Example: feat_add-image-tag-database-relation.

Git hooks

Git hooks are placed in .git/hooks. The only existing hook for now is a pre-commit hook that will run mix commands for backend part.

Linter

For now the only existing linter is Credo for backend part.

Continuous Integration (CI)

A CI pipeline is configured for this project and is accessible in the CI.yaml file.

The pipeline will run 3 different jobs:

  • Dependencies check
  • Linter
  • Tests

The pipeline will be triggered automatically when creating a new Pull Request and on each push on it. It will also be triggered on push on masterand dev branches.

Featured documentation

API documentation : link

Front documentation : link

Wiki : link

About

Elm application with Phoenix API on Docker : Edwin Vautier - Jack Maarek - Jason Gauvin

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elm 46.6%
  • Elixir 45.8%
  • JavaScript 3.6%
  • CSS 2.2%
  • Dockerfile 0.8%
  • HTML 0.7%
  • Shell 0.3%