Skip to content

maiconprange/node-crud

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node CRUD

CRUD App with Node and MongoDB

What you will see here

  • Handle CRUD in Node
  • How to use MongoDB in Node
  • Handle Node validation and messages

What is used here

  • Node
  • Express
  • MongoDB
  • Mongoose

Getting started

  • 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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 62.2%
  • HTML 34.7%
  • CSS 3.1%