-
Fork this repository on GitHub.
-
Clone the forked repository in your computer.
$ git clone https://github.com/<your-username>/Narrow-Links.git
$ cd Narrow-Links
-
Go the folder where you want to contribute:
$ cd client
ORcd server
-
Run the development server:
$ cd client
$ npm install
$ npm run start
➡️ For running server
open your terminal and ( You can skip this step if you are contributing to the frontend only ) :
-> Configure your environment variables
-
Create a file named
.env
then enter the following data inside itTWILIO_ACC_SID = "Get your twilio account SID from your console" TWILIO_AUTHTOKEN = "Get your twilio Auth-Token from your console" TWILIO_NUMBER = "Get your twilio Number from your console" MONGODBURI = "Add your Mongodb Connection string here"
Save your data env file and run the following commands in your terminal
$ cd server
$ npm install
$ npm run serve
-
Create a new branch for the issue you are working on
$ git checkout -b <branch-name>
-
Make your changes. Then, stage and commit them using:
$ git add .
$ git commit -m "This is a commit message"
-
Push your changes to your forked repository.
$ git push origin <branch-name>
- Create a PR with listing all your contributions and wait for it to get merged