Skip to content

jdelucaa/node-crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node CRUD

CRUD App with Node and MongoDB

Dependencies

  • Node
  • Express
  • MongoDB
  • Mongoose

Getting started with this repo

  • Download and install NodeJS
  • Clone this repository
  • In the root folder, run: npm install

For MongoDB

  • Create an account on mlab.com
  • Create a database
  • Create a database user/pass
  • Get the connection string
  • Rename the .env.example file (located in the root folder) to .env
  • Paste mongodb connection string in .env file

Run:

  • Start the server, run: node server.js (if you are developing, you can use nodemon instead for watching file changes. Install nodemon, run: npm install -g nodemon) and start the server, run: nodemon server.js
  • On your browser: localhost:8989

About

CRUD App with Node and MongoDB

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published