Skip to main content

Starter Pack

Coding Environment

Most of people are coding in a VM in our office. You need to have an ssh key for it.

You can follow the tutorial section step by step to make your coding environment:

This way you can be working on your computer in your favorite IDE, saving file and it will change in VM and hot reload to see your changes in real time.

Coding

Most of our project are using same technologies / tools.

Dependencies

  • *NIX System (Unix / Linux, Posix, MacOS etc)
  • docker
  • docker-compose
  • make

Steps to get a new project

  • git clone $repo
  • git checkout develop we aren't working on master branch, check gitflow !
  • make init to init environment variables
  • make to make the stack running on your computer (api + sql + phpmyadmin)
  • make logs to see docker containers logs

API in development mode (make) will watch for changement and restart automatically (thanks to Nodemon)

React / React-Native / Preact already have tools to watch changements.

Commit message

Backend: Gitmoji

  • :sparkles: add feature
  • ♻️ :recycle: refactor code
  • 🚑 :ambulance: hotfix
  • 🔥 :fire: remove code or files
  • 🎨 :art: improve structure / format of the code
  • :zap: improve performance
  • :white_check_mark: add or update tests

Makefile

  • make help to see every available commands
  • make launch the project
  • make logs logs of the project
  • make clean stop the project

VS Code recommend extensions

Backend

For more information, please check the coding style.