This full stack app provides the almost bare minimum modules and code required to deploy a PERN stack app with image upload feature. Note that the server (e.g. REST API) recieving the image is not implemented here. A REST end point is also iomplemented. This REST endpoint gets data from the PostgreSQL DB and displays same as a JSON object in the browser.
- PostgreSQL
- Express
- ReactJS
- Node
- REST
- WebPack
- Babel
- HandleBars
- Node
- express-fileupload
Install the dependencies from the Tech list above.
$ npm init
$ service postgresql start
$ sudo -u postgres psql
$ npm run build
$ npm start
MIT Free Script