What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2022-03-27 16:45:36
create .gitignore
# creates gitignore file $ touch .gitignore Add solution -
Other 2022-03-05 11:30:08
enviroment variable in react
WARNING: Do not store any secrets (such as private API keys) in your React app! (source: https://create-react-app.dev/docs/adding-custom-environment-variables) Reason: Environment variables are embedded into the build, meaning anyone can view them by insp... Add solution -
Javascript 2022-03-04 22:05:39
hide urls in .env in react app
WARNING: Do not store any secrets (such as private API keys) in your React app! Environment variables are embedded into the build, meaning anyone can view them by inspecting your app's files. outside our src folder create .env file and add it to gitigno... Add solution -
Shell/Bash 2022-03-02 15:20:25
initialize a repo and push to github
git init git add . git commit -m "First commit" git remote add origin <remote repository URL> git remote -v git branch -M main git push -u origin main 1- # Create a new repository on GitHub. To avoid errors, do not initialize the new repo... Add solution -
Javascript 2022-02-20 20:05:03
Deploying Node.js Apps on Heroku
1- Specify the version of node on package.json "engines": { "node": "14.x" }, npm install heroku local web Your app should now be running on http://localhost:5000/. echo "/node_modules npm-debug.log .DS_Store... Add solution
Best helpers
Piquet
+5
J. Marks
+5
Jim Mourgos
+5
Babak
+5
TheShade
+5
Waldrumpus
+5
Arnav Bose
+5
Mostafa 36a2
+5