mapshare / mapshare/map-share-backend
Add .env.example for the project.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Currently, MONGO_URL is written hardcoded in the mongoURL.js.
It affects building local development because every developer has a different environment.
This task is doing;
- Add dotenv module
- Make .env.sample and add to git
- Add MONGO_URL environment to .env.sample
- Add .env to .gitignore
- Replace hardcoded MONGO_URL to env value in the mongoURL.js
Example:
-
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting mongoURL.js to see how MONGO_URL is currently hardcoded, then review the existing .gitignore. Add the requested environment-template files and configuration, and verify that mongoURL.js reads the environment value while the real .env remains ignored.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, mongodb, nodejs
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100