Demo of using Mongoose with Express to build a simple API of bookmarks.
- Node
- MongoDB and Mongoose
- Express
- Fork and clone this repository.
- Change into the new directory.
- Fulfill the listed requirements.
Create a package.json
and build out the file system for our simple API.
Set up the database connection and define a model based on the provided bookmarks data.
Set up a simple Express app with a single endpoint.
Use your Mongoose model to query data from within your Express route. Return the results to the user as JSON.
- All content is licensed under a CCBYNCSA 4.0 license.
- All software code is licensed under GNU GPLv3. For commercial use or alternative licensing, please contact [email protected].