From f5ff5b5ad8d3f56f50283f0452845de997a0d949 Mon Sep 17 00:00:00 2001 From: komal gavasane Date: Mon, 16 Sep 2024 14:21:08 +0530 Subject: [PATCH 1/2] updated all the documents, code and comments to the Devcamper --- CONTRIBUTING.md | 8 ++++---- SETUP.md | 10 +++++----- api/_postman/prod-environment.json | 2 +- api/package-lock.json | 4 ++-- api/package.json | 10 +++++----- api/routes/home.js | 2 +- api/seeder.js | 2 +- ui/package-lock.json | 4 ++-- ui/package.json | 2 +- 9 files changed, 22 insertions(+), 22 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ff69f72..2a0156c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ -# Contributing to MERN Bootcamp +# Contributing to DevCamper -We welcome contributions to the MERN Bootcamp project! By contributing, you can help improve the project and make it more useful for everyone. +We welcome contributions to the DevCamper project! By contributing, you can help improve the project and make it more useful for everyone. ## How to Contribute @@ -9,8 +9,8 @@ We welcome contributions to the MERN Bootcamp project! By contributing, you can Fork the repository on GitHub and clone your fork locally. ```sh - git clone https://github.com/your-username/mern-bootcamp.git - cd mern-bootcamp + git clone https://github.com/your-username/DevCamper.git + cd DevCamper ``` 2. **Create a branch:** diff --git a/SETUP.md b/SETUP.md index 529b30a..d298394 100644 --- a/SETUP.md +++ b/SETUP.md @@ -1,6 +1,6 @@ -# MERN Bootcamp Project Setup Instructions +# DevCamper Project Setup Instructions -Welcome to the MERN Bootcamp project! This guide will walk you through the process of setting up the API server and the UI application. Please follow the steps carefully to get the application up and running. +Welcome to the DevCamper project! This guide will walk you through the process of setting up the API server and the UI application. Please follow the steps carefully to get the application up and running. ## Prerequisites @@ -16,8 +16,8 @@ Before starting, make sure you have the following installed on your machine: ### Step 1: Clone the repository ```bash -git clone https://github.com/prasadhonrao/mern-bootcamp -cd mern-bootcamp +git clone https://github.com/prasadhonrao/DevCamper +cd DevCamper cd api ``` @@ -49,7 +49,7 @@ PORT=5000 NODE_ENV=development # Database configuration -MONGO_URI=mongodb://localhost:27017/mern-bootcamp-dev-db +MONGO_URI=mongodb://localhost:27017/DevCamper-dev-db # Geocoder configuration GEOCODER_PROVIDER=mapquest diff --git a/api/_postman/prod-environment.json b/api/_postman/prod-environment.json index b4a0612..2034297 100644 --- a/api/_postman/prod-environment.json +++ b/api/_postman/prod-environment.json @@ -4,7 +4,7 @@ "values": [ { "key": "url", - "value": "http://mern-bootcamp.io", + "value": "http://DevCamper.io", "type": "default", "enabled": true }, diff --git a/api/package-lock.json b/api/package-lock.json index 729cb84..4d83d8d 100644 --- a/api/package-lock.json +++ b/api/package-lock.json @@ -1,11 +1,11 @@ { - "name": "mern-bootcamp-api", + "name": "DevCamper-api", "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "mern-bootcamp-api", + "name": "DevCamper-api", "version": "1.0.0", "license": "MIT", "dependencies": { diff --git a/api/package.json b/api/package.json index 158d6be..a18ca5d 100644 --- a/api/package.json +++ b/api/package.json @@ -1,7 +1,7 @@ { - "name": "mern-bootcamp-api", + "name": "DevCamper-api", "version": "1.0.0", - "description": "API for MERN Bootcamp web application", + "description": "API for DevCamper web application", "main": "server.js", "type": "module", "scripts": { @@ -14,7 +14,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/prasadhonrao/mern-bootcamp.git" + "url": "git+https://github.com/prasadhonrao/DevCamper.git" }, "keywords": [ "api", @@ -26,9 +26,9 @@ "author": "Prasad Honrao", "license": "MIT", "bugs": { - "url": "https://github.com/prasadhonrao/mern-bootcamp/issues" + "url": "https://github.com/prasadhonrao/DevCamper/issues" }, - "homepage": "https://github.com/prasadhonrao/mern-bootcamp#readme", + "homepage": "https://github.com/prasadhonrao/DevCamper#readme", "dependencies": { "bcryptjs": "^2.4.3", "colors": "^1.4.0", diff --git a/api/routes/home.js b/api/routes/home.js index 4e68f37..52a064c 100644 --- a/api/routes/home.js +++ b/api/routes/home.js @@ -3,7 +3,7 @@ import express from 'express'; const router = express.Router(); router.get('/', (req, res) => { - res.send('Welcome to MERN bootcamp API!'); + res.send('Welcome to DevCamper API!'); }); router.get('/status', (req, res) => { diff --git a/api/seeder.js b/api/seeder.js index bff7226..9dd9cb5 100644 --- a/api/seeder.js +++ b/api/seeder.js @@ -17,7 +17,7 @@ if (ENV === 'development') { } // Connect to MongoDB -const MONGO_URI = process.env.MONGO_URI || 'mongodb://localhost:27017/mern-bootcamp-db'; +const MONGO_URI = process.env.MONGO_URI || 'mongodb://localhost:27017/devCamper-db'; await mongoose.connect(MONGO_URI); // Read JSON files diff --git a/ui/package-lock.json b/ui/package-lock.json index f25e289..fff7561 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -1,11 +1,11 @@ { - "name": "mern-bootcamp-ui", + "name": "devCamper-ui", "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "mern-bootcamp-ui", + "name": "devCamper-ui", "version": "0.1.0", "dependencies": { "bootstrap": "^5.3.3", diff --git a/ui/package.json b/ui/package.json index 73b7f36..d9bd956 100644 --- a/ui/package.json +++ b/ui/package.json @@ -1,5 +1,5 @@ { - "name": "mern-bootcamp-ui", + "name": "devCamper-ui", "version": "0.1.0", "private": true, "dependencies": { From 6912915d9671b282b100b5c28a37874decf1b308 Mon Sep 17 00:00:00 2001 From: komal gavasane Date: Tue, 17 Sep 2024 14:01:49 +0530 Subject: [PATCH 2/2] Made the correction (Lowercase) according to the comments. --- CONTRIBUTING.md | 2 +- SETUP.md | 4 ++-- api/_postman/prod-environment.json | 2 +- api/package.json | 10 +++++----- api/seeder.js | 2 +- ui/package.json | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2a0156c..0a37bbe 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -9,7 +9,7 @@ We welcome contributions to the DevCamper project! By contributing, you can help Fork the repository on GitHub and clone your fork locally. ```sh - git clone https://github.com/your-username/DevCamper.git + git clone https://github.com/your-username/devcamper.git cd DevCamper ``` diff --git a/SETUP.md b/SETUP.md index d298394..8bb8a39 100644 --- a/SETUP.md +++ b/SETUP.md @@ -16,7 +16,7 @@ Before starting, make sure you have the following installed on your machine: ### Step 1: Clone the repository ```bash -git clone https://github.com/prasadhonrao/DevCamper +git clone https://github.com/prasadhonrao/devcamper cd DevCamper cd api ``` @@ -49,7 +49,7 @@ PORT=5000 NODE_ENV=development # Database configuration -MONGO_URI=mongodb://localhost:27017/DevCamper-dev-db +MONGO_URI=mongodb://localhost:27017/devcamper-dev-db # Geocoder configuration GEOCODER_PROVIDER=mapquest diff --git a/api/_postman/prod-environment.json b/api/_postman/prod-environment.json index 2034297..3f36bec 100644 --- a/api/_postman/prod-environment.json +++ b/api/_postman/prod-environment.json @@ -4,7 +4,7 @@ "values": [ { "key": "url", - "value": "http://DevCamper.io", + "value": "http://devcamper.io", "type": "default", "enabled": true }, diff --git a/api/package.json b/api/package.json index a18ca5d..ef072eb 100644 --- a/api/package.json +++ b/api/package.json @@ -1,7 +1,7 @@ { - "name": "DevCamper-api", + "name": "devcamper-api", "version": "1.0.0", - "description": "API for DevCamper web application", + "description": "API for devcamper web application", "main": "server.js", "type": "module", "scripts": { @@ -14,7 +14,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/prasadhonrao/DevCamper.git" + "url": "git+https://github.com/prasadhonrao/devcamper.git" }, "keywords": [ "api", @@ -26,9 +26,9 @@ "author": "Prasad Honrao", "license": "MIT", "bugs": { - "url": "https://github.com/prasadhonrao/DevCamper/issues" + "url": "https://github.com/prasadhonrao/devcamper/issues" }, - "homepage": "https://github.com/prasadhonrao/DevCamper#readme", + "homepage": "https://github.com/prasadhonrao/devcamper#readme", "dependencies": { "bcryptjs": "^2.4.3", "colors": "^1.4.0", diff --git a/api/seeder.js b/api/seeder.js index 9dd9cb5..f98f1ba 100644 --- a/api/seeder.js +++ b/api/seeder.js @@ -17,7 +17,7 @@ if (ENV === 'development') { } // Connect to MongoDB -const MONGO_URI = process.env.MONGO_URI || 'mongodb://localhost:27017/devCamper-db'; +const MONGO_URI = process.env.MONGO_URI || 'mongodb://localhost:27017/devcamper-db'; await mongoose.connect(MONGO_URI); // Read JSON files diff --git a/ui/package.json b/ui/package.json index d9bd956..bcbe6e7 100644 --- a/ui/package.json +++ b/ui/package.json @@ -1,5 +1,5 @@ { - "name": "devCamper-ui", + "name": "devcamper-ui", "version": "0.1.0", "private": true, "dependencies": {