Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thedevelop3r/javascript-node-express-mongoose
A medium store api based back-end server with JavaScript | Node.js | Express | Mongoose which returns products from mongoose database in json format A Product Schema for mongoose ErrorHandler middleware | NotFound middleware Controller functions A complex getAllProducts methods/Api which returns the products based on query parameters How to use? signup at cloud.mongodb.com create a database and copy the connection link. create a dotenv file and add a variable name with such formate => DBCONNECT=paste_the_link_of_mongo_connection_uri_here save the file and run the server on localhost setup app.js with your required properties or just run it with node app.js need dummy data? dont worry just run node populate.js and it will create 23 data entries into mongoose.
https://github.com/thedevelop3r/javascript-node-express-mongoose
Last synced: 22 days ago
JSON representation
A medium store api based back-end server with JavaScript | Node.js | Express | Mongoose which returns products from mongoose database in json format A Product Schema for mongoose ErrorHandler middleware | NotFound middleware Controller functions A complex getAllProducts methods/Api which returns the products based on query parameters How to use? signup at cloud.mongodb.com create a database and copy the connection link. create a dotenv file and add a variable name with such formate => DBCONNECT=paste_the_link_of_mongo_connection_uri_here save the file and run the server on localhost setup app.js with your required properties or just run it with node app.js need dummy data? dont worry just run node populate.js and it will create 23 data entries into mongoose.
- Host: GitHub
- URL: https://github.com/thedevelop3r/javascript-node-express-mongoose
- Owner: Thedevelop3r
- Created: 2022-08-13T22:09:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-13T22:25:16.000Z (over 2 years ago)
- Last Synced: 2024-04-24T03:26:59.206Z (7 months ago)
- Language: JavaScript
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0