-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version update by GSSOC MENTOR SK MIRAJ
- Loading branch information
1 parent
55577a2
commit 2f1dc5c
Showing
116 changed files
with
13,919 additions
and
13,515 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"name": "backend", | ||
"version": "1.0.0", | ||
"main": "index.js", | ||
"directories": { | ||
"test": "test" | ||
}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"keywords": [], | ||
"author": "Vinisha Dsouza", | ||
"license": "ISC", | ||
"description": "Created for Backend Intrigration with E-nyanjyoti Platfrom", | ||
"dependencies": { | ||
"cors": "^2.8.5", | ||
"dotenv": "^16.4.5", | ||
"express": "^4.21.0", | ||
"firebase": "^10.14.0", | ||
"mongoose": "^8.7.0", | ||
"nodemon": "^3.1.7" | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Now we know that Git only tracks files, so we know we need to add something to the folder. | ||
|
||
You can add anything. You just need to add a really simple dummy file to make sure that the folder is tracked, and will be pushed. | ||
|
||
You could copy and paste a text file file.txt with nothing in it, and that would work. You could put a PNG image of a cat. | ||
|
||
A common, standardised practice to solve this exact issue, however, is to push a file called .gitkeep into your empty folders. | ||
|
||
This isn't a feature of Git! So you could name it anything. There's nothing special about the name .gitkeep – some developers add .gitignore instead, for example. | ||
|
||
.gitignore is a little confusing, though, as you are trying to make git not ignore your file, and actually push it into your branch. | ||
|
||
Either way, by adding this simple file to your folders, they'll get pushed when the time comes. | ||
|
||
.gitkeep is a common thing you will see in codebases, where an empty folder needs to be tracked via Git. | ||
|
||
The name of the dummy file may not always be .gitkeep but you'll see the actual practice over and over again as a developer. | ||
|
||
I tweet my articles here if you would like to read more of my writing. |
File renamed without changes.
Oops, something went wrong.