Skip to content

michelleheh/MERNStarter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MongoDB Node/Express React/Redux Starter

This is a boiler plate repo for starting a project with MERN stack

client

The client side files are cloned from https://github.com/StephenGrider/ReduxSimpleStarter

  1. install dependencies
npm install
  1. run webpack and development server at localhost:8080
npm start

alternatively, run webpack itself to generate a bundle.js file

webpack

server

  1. install dependencies
npm install
  1. run server to serve static files in the client folder
node server.js

An example api point is setup to communicate with MongoDB

MongoDB

start running a MongoDB instance

mongod

Connect to the mongoDB directly in terminal

mongo

to see mongodb processes that are running

ps -ax | grep mongo

basic mango shell commands

show dbs
use [db name]
show collections
use [collection names]
db.[collection name].find()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published