A employee records microservice built using Node.
- Click on Fork at the top right corner
- Clone your forked repository
- cd into the cloned folded |
cd fury-backend-node
git remote add upstream https://github.com/hngi/fury-backend-node.git
git pull upstream master
- Check out to the task branch |
git checkout -b <NAME_OF_THE_TASK>
- Create .env and copy the content of sample.env |
cp sample.env .env
- Create .env.test and copy the content of sample.env |
cp sample.env.test .env.test
- Update the DB credentials | N/B Postgres DB
- npm install
- npm run lint
- npm run dev
In the terminal, ensuring that you are located in the root of your repo, run these commands:
git add .
git commit -m "<COMMIT MESSAGE>"
git push origin <BRANCH_NAME>
- Go to the repository https://github.com/hngi/fury-backend-node
As soon as you get there, you are going to see a green ‘compare and create a pull request’
- Click on it, and type your message, click on create pull request.
If you have any more questions, please check out this resource -> https://www.youtube.com/watch?v=HbSjyU2vf6Y