Skip to content

aureustaurus/react-node-boilerplate

Repository files navigation

MERN-boilerplate

This is a boilerplate project using the following technologies:

Requirements

npm install

Initializing DB

To initializing some dummy data to DB - should run:

node server/initdb

or

npm run initdb

by default it will insert 20 rows. If you need any amount of rows, you should set param to the comand:

node server/initdb --rows=3

!!! with comand npm run initdb key doesn't work !!!

Running

Make sure to add a config.js file in the config folder. See the example there for more details.

Production mode:

npm start

Development (Webpack dev server) mode:

npm run start:dev

How work with?

To start working you should open in browser page : 'http://localhost:8080/shops'

Set at the page parameters (filters, search, sotring) if you need it Click button 'Get shops' and look at the shops data in the table.

About

React_16-Redux-NodeJS-MongoDB-Mongoose template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors