Giter Site home page Giter Site logo

rantr-backend's Introduction

Rantr

A social media app where you can rant about your job


Contribution

Click Here

  1. Cloning the project
    • Always clone from the staging branch git clone -b staging https://github.com/Recon-Africa/recon-api
    • Run npm install npm install
    • Always create your branch from the staging branch i.e
      • git checkout staging
      • git checkout -b branch-name

  1. PRs detail examples before committing

    Issue

    • QA engineer can't test phone verification because twilo not sending sms on staging

    What has changed:

    1. Changed line 97 on utils.js file
    2. restricted sending of sms to just staging and production

    What reviewers should know:

    • used the ternary expression

Example of a standard PR

### Issues
* I worked on a particular problem affecting our server

### What has changed?
* I updated this particular line or this file index.ts

### What reviewer should know?
* nothing for now, i ran migrations e.t.c

  1. Creating Git branch names for adding features, bug fixes, & code cleanups respectively:
  • feat/branch-name or feature/branch-name
  • fix/branch-name or bug-fix/branch-name
  • chore/branch-name

  1. Tagging PR changes
  • bug fixes: fix:summary-of-fix or bug-fix:summary-of-fix
  • Features added: feat:commit-message or feature:commit-message
  • Code cleanup chore:commit-message

  1. Important thing to note while collaborating
  • Always pull from develop. You can checkout to staging branch and pull or pull directly from develop into your current branch.
  • Create new branch for every feature or fixes you are being assigned. Only create a fix branch if the previous tasks has been closed.
  • Do not push directly to develop or main. Always create a PR and use our PR standard.

The above is simplified in this table:

Task Branch naming PR changes tagging
Adding features feat/branch-name feat:commit-message
Bug fixes fix/branch-name fix:summary-of-fix
Code cleanup chore/branch-name chore:commit-message
Code deployment deployment/branch-name deployment:commit-message

Contribute

Click Here

Run Server


  1. Load .env
    • get the development environmental variable from .env.sample and put into your .env

  1. Run server
    • go run main.go

rantr-backend's People

Contributors

goodnessezeokafor avatar temi0x avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.