You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notes management application built with React and Redux.
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 postgresql database. To install it, go to this link.
After, you need install all dependencies using this command:
npm install
Next, you should create config .env.develop and .env.production files:
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 postgresql database. 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.