/cookBook

Primary LanguageJavaScript

CookBook

This program was created like test task, for 'Binary Studio' company.

Cook Book - Create frontend and backend with React, Node, Express, mongoDB.

Also using Webpack to comform programing. Server and client runs at one time, so just run availabe scripts.

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm install

To install all dependencies.

npm run dev

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run (server or client)

If you want run on two terminal, or see how work only server or client side.

npm run build

Run to webpack production mode.

npm test

Run to test program.

Mongo setup

To find database data:

  • open terminal and type service mongod start, if your mongoDB database doesn`t start
  • open MongoDB Compass, there link to download [https://www.mongodb.com/download-center/compass]
  • run on MongoDB Compass localhost on 27017 and choose database cookBook, collection Recipes