Skip to content

tschijvenaars/nodejs-template-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS Template

It's a new day, a new start, a new platform. Built to learn the MEAN Stack, forked from rwieruch and me.

Features

  • Express
  • REST API
  • MongoDB (Mongoose)

Requirements

Installation

  • git clone git@github.com:rwieruch/node-express-mongodb-server.git
  • cd node-express-mongodb-server
  • npm install
  • install node dependencies
  • install mongodb dependencies
  • npm start
  • optional: include .env in your .gitignore

GET Routes

Beyond GET Routes

CURL

  • Create a message with:
    • curl -X POST -H "Content-Type:application/json" http://localhost:3000/messages -d '{"text":"Hi again, World"}'
  • Delete a message with:
    • curl -X DELETE -H "Content-Type:application/json" http://localhost:3000/messages/1

Postman

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors