Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This is Swetha Eager to be a Developer #2

Open
wants to merge 47 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
eb0462a
server.js
Swethacode262 Nov 10, 2023
5457f49
package.json
Swethacode262 Nov 10, 2023
ffcd384
package-lock.json
Swethacode262 Nov 10, 2023
bbd388e
package-lock.json
Swethacode262 Nov 10, 2023
d7f1c67
package-lock.json
Swethacode262 Nov 10, 2023
4fe1515
README.md
Swethacode262 Nov 10, 2023
690f5a9
README.md
Swethacode262 Nov 10, 2023
a87bd57
README.md
Swethacode262 Nov 10, 2023
99a5e75
READme.md
Swethacode262 Nov 10, 2023
1451150
productModel.js
Swethacode262 Nov 10, 2023
611a009
.gitignore
Swethacode262 Nov 10, 2023
5f70bf1
Create main.yml
Swethacode262 Nov 10, 2023
3faaa46
main.yml
Swethacode262 Nov 10, 2023
a9b40ac
controllers/productControllers
Swethacode262 Nov 10, 2023
ec4ddef
productControllers
Swethacode262 Nov 10, 2023
c76511e
Delete controllers/productControllers
Swethacode262 Nov 10, 2023
794338c
productControllers
Swethacode262 Nov 10, 2023
dae8310
routes/ productRoutes
Swethacode262 Nov 10, 2023
e3721a1
Update productRoutes
Swethacode262 Nov 10, 2023
884d715
Delete models/productRoutes
Swethacode262 Nov 10, 2023
9ae40bd
Create rr
Swethacode262 Nov 10, 2023
46dff58
Delete models directory
Swethacode262 Nov 10, 2023
e6eb156
productModel.js
Swethacode262 Nov 10, 2023
15906e3
Create e
Swethacode262 Nov 10, 2023
4514a8e
Delete models/e
Swethacode262 Nov 10, 2023
7508072
productRoute.js
Swethacode262 Nov 10, 2023
5b74e6f
Delete models/productRoute.js
Swethacode262 Nov 10, 2023
e47d0d5
productControllers.js
Swethacode262 Nov 10, 2023
37df8ae
productControllers.js
Swethacode262 Nov 10, 2023
6eca55a
Delete controllers/productControllers
Swethacode262 Nov 10, 2023
df31f06
productControllers.js
Swethacode262 Nov 10, 2023
c5cadd2
Delete controllers/productControllers
Swethacode262 Nov 10, 2023
444077b
Create productControllers.js
Swethacode262 Nov 10, 2023
b6ed2f4
productRoute.js
Swethacode262 Nov 10, 2023
f0b8bfb
errorMiddleware.js
Swethacode262 Nov 10, 2023
7afac81
.env_example
Swethacode262 Nov 10, 2023
3ac9100
.gitignore
Swethacode262 Nov 10, 2023
f397b9c
Delete routes directory
Swethacode262 Nov 10, 2023
392cfbe
Delete controllers directory
Swethacode262 Nov 10, 2023
2386376
Delete middleware directory
Swethacode262 Nov 10, 2023
895f777
.env
Swethacode262 Nov 10, 2023
8a84d67
.gitignore
Swethacode262 Nov 10, 2023
172ae61
Delete .env
Swethacode262 Nov 10, 2023
9ceb0c7
Let me Know
Swethacode262 Nov 10, 2023
d41304a
Let me Know
Swethacode262 Nov 10, 2023
36b1e47
server.js
Swethacode262 Nov 10, 2023
013f6ca
server.js
Swethacode262 Nov 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
node_modules

2 changes: 1 addition & 1 deletion README.md → Let me Know
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## About NODE.js API

This project is created to teach you how to create a Restful CRUD API with Node.js, Express and MongoDB.
This project is created to learn how to create a Restful CRUD API with Node.js, Express and MongoDB.

If you want to learn how the project is developed. You can visit https://www.youtube.com/watch?v=FPYlicctQMM&list=PLbKN8A2wssqUlVHRBeJIgIvkbyrX4kR0V or https://www.youtube.com/watch?v=9OfL9H6AmhQ&feature=youtu.be

Expand Down
2 changes: 1 addition & 1 deletion models/productModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ const productSchema = mongoose.Schema(

const Product = mongoose.model('Product', productSchema);

module.exports = Product;
module.exports = Product;
Loading