Skip to content

Thinkful-Ed/starter-express-mongoose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published