https://github.com/kento75/react-express-crm
react & redux & express & jwt & postgresql
https://github.com/kento75/react-express-crm
express jwt postgresql react redux
Last synced: 2 months ago
JSON representation
react & redux & express & jwt & postgresql
- Host: GitHub
- URL: https://github.com/kento75/react-express-crm
- Owner: Kento75
- Created: 2018-07-29T00:06:22.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-31T13:45:32.000Z (almost 8 years ago)
- Last Synced: 2025-04-05T17:37:03.788Z (about 1 year ago)
- Topics: express, jwt, postgresql, react, redux
- Language: JavaScript
- Homepage:
- Size: 15 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-express-crm
Install the required node modules:
```
$ npm install
```
Configure the database:
```
# /config/config.json
"development": {
"username": "your_db_username",
"password": "your_db_password",
"database": "your_db_name",
"host": "localhost",
"dialect": "postgres",
"logging": false
}
```
Finally, run the database migrations:
```
$ npm run dbmigrate
```
### Running the tests
```
$ npm test # Run all tests
$ npm run test-server # Run server tests (API, Auth)
$ npm run test-client # Run client tests (Redux)
```
### Running the app
In a terminal window, run `npm run build` to compile the React app. `webpack` in watch mode will recompile your React app whenever it changes:
```
$ npm run build
```
In another terminal window, run `npm start` to start the Express server. `nodemon` will recompile the Express app whenever it changes:
```
$ npm start
```