This is a boilerplate project using the following technologies:
- React and React Router for the frontend
- Express and Mongoose for the backend
- Sass for styles (using the SCSS syntax)
- Webpack for compilation
npm installTo initializing some dummy data to DB - should run:
node server/initdbor
npm run initdbby 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 !!!
Make sure to add a config.js file in the config folder. See the example there for more details.
Production mode:
npm startDevelopment (Webpack dev server) mode:
npm run start:devTo 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.