README.md
July 27, 2016 ยท View on GitHub
Notes management application built with React and Redux.
Try the demo at do.1ven.me. Username - test, Password - 123456.

Stack:
| Package | Description |
|---|---|
react | Awesome JavaScript library for building ui |
redux | Predictable state container for JavaScript apps |
react-router | Routing library for React |
redux-saga | An alternative side effect model for Redux apps |
normalizr | Normalizes nested JSON according to a schema |
reselect | Selector library for Redux |
redux-devtools | DevTools for Redux library |
babel | Compiler for writing next generation JavaScript |
webpack | Module bundler |
Installation:
- This application requires
postgresqldatabase. To install it, go to this link. - After, you need install all dependencies using this command:
npm install
- Next, you should create config
.env.developand.env.productionfiles:
DATABASE_URL='Place here postgres connection string like `postgres://user:password@localhost:5432/database_name`'
JWT_SECRET='Place here jwt secret string. Can be used any long string'
NODE_ENV='Should be `development` or `production` according to environment'
PORT=3000
If you want to run tests, also you need to define .env.test file.
- Before running application, you should run
postgresqldatabase. In most cases it should be:
postgres -D /usr/local/var/postgres
- Next, you can run application:
In development mode:
npm run development
In production mode:
npm run production
Npm commands:
| Command | Description |
|---|---|
npm install | Install project dependencies and build client js file |
npm run development | Run server with webpack in development mode |
npm run production | Run server in production mode |
npm run bundle | Build client javascript file for production |
npm run deploy | Deploy app to heroku |
npm run tests | Run client and server tests |
npm run tests-client | Run client tests |
npm run tests-server | Run server tests |
Todo
- Implement drag and drop for Boards, Lists and Cards.