Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 1.16 KB

README.md

File metadata and controls

41 lines (34 loc) · 1.16 KB

Starter Express Mongoose Project

This project provides a starting point for building an application with Express and Mongoose, focusing on connecting a Node.js server to a MongoDB database using Mongoose as the Object Data Modeling (ODM) library.

Features

  • Express setup with route handling
  • Mongoose integration with MongoDB for database operations
  • Example schema and models for managing data

Installation

  1. Clone the repository:

    git clone https://github.com/Thinkful-Ed/starter-express-mongoose.git
  2. Navigate to the project directory:

    cd starter-express-mongoose
  3. Install dependencies:

    npm install
  4. Set up environment variables:

    • Create a .env file and include your MongoDB URI:
      MONGO_URI=<your-mongo-database-URI>
      
  5. Run the application:

    npm start

Usage

This starter template provides the basic structure for building RESTful APIs. You can extend it by adding more routes, controllers, and Mongoose models.

Technologies

  • Express: Web framework for Node.js.
  • Mongoose: ODM library for MongoDB.
  • MongoDB: NoSQL database.