Skip to content

Javascript boilerplate on the client/server, authentication, api, latest ES in the client and more...

Notifications You must be signed in to change notification settings

asotog/fullstack-javascript-boilerplate

Repository files navigation

Requirements
  • node version 6.9.2 or latest
  • npm version 5.0.3 or latest
Description
  • Fullstack application, client/server running javascript
  • PassportJS authentication
  • Authenticated API implemented with ExpressJS
  • Hot Reload, preprocessing, compiling for the client with webpack, browser will reload after any change
  • Server code changes watch, everytime backend code is changed, server is reloaded
  • Handlebars for ExpressJS views rendering
  • Babel for: JSX, latest ES, etc..
  • React, Redux, Redux Form, Validations
  • Internationalization
  • Styling with SCSS
  • UI uses Bootstrap 3, but can be easily changed to other stuff, own custom styling, Foundation, Material, Pure, etc...
Scripts

Development and production scripts :

  • npm run start:dev: Starts dev servers; client code server running in port 3001 and expressjs server in 3000
  • npm run start:prod": Starts production mode server; it runs on port 8080, and it first generates the bundled client files into build folder
  • npm run build: No server, this just bundles client files into build folder
Author

alejandro soto

Feel free to modify, send PR or use this...