GithubHelp home page GithubHelp logo

dogukantopcu / express-mongodb-template Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 20 KB

This is a template repository for easy creating express api with using MongoDB.

JavaScript 100.00%
body-parser colors cors dotenv express expressjs mongodb mongoose no-sql node nodejs nodemon nosql yarn

express-mongodb-template's Introduction

Getting Started

This project was bootstrapped with yarn init and created with these packages:

  • express
  • mongoose
  • nodemon
  • cors
  • dotenv
  • body-parser
  • colors

Available Scripts

yarn install | npm install

Installs node_modules folder according to the dependencies. This is the must command for starting the project.

yarn start | npm start

Runs the app in the development mode. Open http://localhost:5000 to view it in your browser. The page will reload when you make changes.
You may also see any lint errors in the console.

Updates

In this template project, packages were installed in these versions; "dependencies": { "body-parser": "^1.20.2", "colors": "^1.4.0",, "cors": "^2.8.5", "dotenv": "^16.0.3", "express": "^4.18.2", "mongoose": "^7.0.0", "nodemon": "^2.0.21" }

1. Re-install Packages

  • yarn remove <package-name> | npm uninstall <package-name>
  • yarn add <package-name> | npm install <package-name>

2. Change package.json File

  • Change the version of the package from package.json file to version what you want.
  • Download node_modules folder with new package versions.
    • yarn install | npm install

express-mongodb-template's People

Contributors

dogukantopcu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.