Skip to content

This application uses React, Redux, React Router and a variety of other helpful libraries using ES6

Notifications You must be signed in to change notification settings

sjorrillo/cookbook

Repository files navigation

cookbook

Twitter

This application uses React, Redux, React Router and a variety of other helpful libraries using ES6 and new features of ES7 like async & await.

The purpose of this application is for training and learn how to use good practises and useful tools.

Demo

Installation

After cloning the repository it should be enough to npm install all the dependencies and then proceed to the Development step.

npm install

Development

Running npm start -s will start both the server-side NodeJS Express application as well as the React Application that will be watching the source files and when those change it will push incremental updates to the browser.

Note: changing any React component should work with hot-reloading. Changing server-side files like controllers (API handlers) could require a restart of the NodeJS server.

npm start -s

Containers

Be sure you have installed the docker tools

To start cookbook_postgres

docker-compose up

If you have pgAdmin installed, you can connect to the postgres docker container using the following credentials:

connection: {
            user: 'postgres',
            database: 'cookbook',
            port: 1433,
            host: 'localhost',
            password: 'Houston'
        },

Or via psql

docker run -it --rm --net cookbook_default --link cookbook_postgres:postgres postgres:9.5.2 psql -h postgres -U postgres

and then execute the next steps:

#First create the cookbook database.
CREATE DATABASE Cookbook;

#Then execute the **data/init/init-schema.sql** file inside the cookbook database.

#To finish execute the **data/init/init-data.sql** file to add some initial data.

About

This application has been based on pluralsight-redux-starter and includes the following technologies:

  • react
  • react-router
  • redux
  • webpack
  • docker
  • knex
  • SuperAgent
  • postgres
  • materialize-css

About

This application uses React, Redux, React Router and a variety of other helpful libraries using ES6

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages