This is a fully functional basic SANE stack app seed. It has passport local, gulp, and sass capabilities. (If you dont want gulp and sass, you will need to update the index.html and index.js accordingly)
- Clone this repo.
- In the terminal, navigate to the project folder and run 'npm i'.
- Create a 'config.js' file in the server folder (It is already ignored).
module.exports = {
PORT: 3000,
MASSIVE_URI: 'postgres://localhost/app', //Change db name from app to whatever your db name is
SESSION_SECRET: 'gweriwrb-erfawrg45-oasWsd', // Change your secret
INITALIZE_LOG: true // change to false if you dont want logs on table initialization.
};
- Run
npm install -g gulp
(if you have not installed it previously). - In a terminal window, navigate to the project folder and run
gulp
.
- In a new terminal window, navigate to the project folder and run
nodemon
.