Boiler plate using
- React/Redux
- Node/Express
- Sequelize/PostgreSQL
- Sass
$ git clone https://github.com/SpectivOfficial/boiler-plate
$ npm install
-
Create
.env
file on the root directory of the boiler plate and add the following- PORT
- NODE_ENV
-
To add database add the following to the
.env
file- POSTGRES_DATABASE
- POSTGRES_USERNAME
- POSTGRES_PASSWORD
- POSTGRES_HOST
- POSTGRES_PORT
- Uncomment everything in
models/index.js
andserver/index.js
-
To add authentication add the following to the
.env
file- PASSPORT_SECRET
- REDDIS_CONNECTION_STRING
- Uncomment everything in
server/app.js
and completeconfig/passport.js
$ npm start
Browse 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 production
It 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.