DevFounta.in is a social media app that allows developers and tech recuiters to interact in a direct way. Made with love, DevFounta.in is the creation of a team of developers for developers. There are some interesting different technologies in this app and I encourage you to reach out if you have any questions on any of them.
- Git clone into a dir in the terminal on your local machine. (this gives you access to the master)
- cd into the project and
code .
- Run
npm i
to get the needed node modules. Feel free to look in thepackage.json
to look for any dependencies you might need for your branch.
- Before you start working, make your branch by opening the terminal in code editor, and typing
git checkout -b <yourLastName>-branch
(this makes a new branch and moves you into that branch)
- You are now free to start coding and editing information. Don't forget to "git commit" your work frequently.
- As you work, you should be familiar with the git add and git commit commands. For this group project, run the below when you are ready to push your code to GitHub.
git add .
git commit -m '<enter your commit message>'
git pull origin master
(resolve any conflicts come up)
git add .
git commit -m 'resolved conflicts'
git push origin <brnach name>
- To assist with or take over another branch, you will need to first
git fetch <other branch name>
- You will then be able to work on that branch by following the below prompts;
git checkout master
git checkout <other branch name>
- Once the branch is completed, follow the above steps to push your branch.
- Once your branch is pushed, you will be able to merge your branch with the master via
github.com --> pull requests --> New pull request
- When testing the connection a call makes to the server/DB, reference the successful tests in in the below path:
src/TESTS/userController.test.js
- To make these tests run, you will need to use the below command line for the correst test to run;
npm run test
- When testing the data and functionality of a hook, reference the successful tests in in in the below path:
src/TESTS/testHook.test.js
src/TESTS/useFetch.test.js
- To make these tests run, you will need to use the below command line for the correst test to run;
npm run test