This is a messaging app built to learn socket.IO
Chatchawan L Suwaratana
Minh Nguyen
Nick Thorpe
Wesley Rou
Socket.IO
HTML
CSS
javaScript
jQuery
morgan
CORS
Helmet
Complete the following steps to set up the messaging server:
- Clone this repository to your local machine 'git clone SLACKFUL-URL NEW-PROJECTS-NAME'
- 'cd' into the cloned repository
- Make a fresh start of the git history for this project with 'rm -rf .git && git init'
- Install the node dependencies 'npm install'
- Move the example Environment file to '.env' that will be ignored by git and read by the express server 'mv example.env .env'
- Create the variables PORT and NODE_ENV in the '.env' file.
- Edit the contents of the 'package.json' to use NEW-PROJECT-NAME instead of ' "name": "slackful", '
Start the application npm start
Start nodemon for the application npm run dev
Run the tests npm test
When your new project is ready for deployment, add a new Heroku application with heroku create
. This will make a new git remote called "heroku" and you can then npm run deploy
which will push to this remote's master branch.