Boiler plate using
- React/Redux
- Node/Express
- Sequelize/PostgreSQL
- Sass
$ git clone https://github.com/SpectivOfficial/boiler-plate$ npm install-
Create
.envfile on the root directory of the boiler plate and add the following- PORT
- NODE_ENV
-
To add database add the following to the
.envfile- POSTGRES_DATABASE
- POSTGRES_USERNAME
- POSTGRES_PASSWORD
- POSTGRES_HOST
- POSTGRES_PORT
- Uncomment everything in
models/index.jsandserver/index.js
-
To add authentication add the following to the
.envfile- PASSPORT_SECRET
- REDDIS_CONNECTION_STRING
- Uncomment everything in
server/app.jsand completeconfig/passport.js
$ npm startBrowse to the port and you should see a green page
The boiler plate is set up with Sass which you can modify in client/styles
$ npm productionIt will create a /dist folder
This boiler plate follows Airbnb's style guide for React
Please contribute using Github Flow.
- Create a branch
- Add commits
- open a pull request for a review.