Skip to content

Latest commit

 

History

History
96 lines (63 loc) · 1.77 KB

README.md

File metadata and controls

96 lines (63 loc) · 1.77 KB

mern_crud

Basic C R U D example with MongoDB, Express, React, Nodejs

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Node.js https://nodejs.org
MongoDB https://www.mongodb.com/
Basic knowledge in js(Es5 y Es6) 

Installing

Download or Clone the proyect

open the console or terminal in the folder proyect and write:

npm install

you need run webpack in other terminal for the aplication to be understood for the browser with:

npm run webpack

Finally you need start the server with:

npm run dev

Example terminal logs:

> nodemon src/index.js

[nodemon] 1.19.1
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node src/index.js`
server inicializado on port 3000
conection success
GET / 304 11.696 ms - -
GET /bundle.js 200 5.970 ms - 935723

Tests

you can see the example in http://localhost:3000/

to End

You can kill the process with:

ctrl + C or cmd + c and press 'Y'

Deployment

In the proyect we not used any template, for understand all parts of the proyect

Built With

Authors

  • Hugo Arturo Torres

License

This project is free