GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - sureshmangs/Realtime-Coffee-Tracker: :coffee: Building an application to order coffee and view its realtime order update using socket.io

BranchesTags
Open more actions menu

Latest commit

 

History

46 Commits
46 Commits

Folders and files

NameName
Last commit message
Last commit date
Demo
Demo
 
 
app
app
 
 
public
public
 
 
resources
resources
 
 
routes
routes
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
mix-manifest.json
mix-manifest.json
 
 
package.json
package.json
 
 
problemStatement.md
problemStatement.md
 
 
server.js
server.js
 
 
webpack.mix.js
webpack.mix.js
 
 

Repository files navigation

Feed Touch

Coffee Cafe

Building an application to order coffee and view its realtime order update using socket.io

Demo Link: Coffee Cafe

Register as a new user or
User Login:
email: [email protected]
password: user_password

Admin Login:
email: [email protected]
password: admin_password

➡️ Technologies Used

1️⃣ MongoDB

2️⃣ Express

3️⃣ Node

4️⃣ Socket.io

➡️ Get Started

Clone the repository

https://github.com/sureshmangs/Realtime-Coffee-Tracker.git

In the project directory(Realtime-Coffee-Tracker)

npm install

In the root directory, create a .env file, inside the .env file, set the following fields

SECRET = 'xxxxxxxxxxxx express session secret xxxxxxxxxxxx'
MONGODB_URI = 'xxxxxxxxxxxx MongoDB Atlas Key xxxxxxxxxxxx'

To run the application in development mode, in the root dirctory

npm run start-dev

➡️ Deploy to Heroku

Create a Procfile, inside the Procfile

web: npm run start

In the package.json file, add the following scripts

"scripts": {
    "start": "node server.js",
    "heroku-postbuild": "npm install"  
}

Run the following commands

git init
git add .
git commit -m "Deploy to Heroku"
heroku create <name of the app>
git push heroku master

➡️ Demo

Homepage

homepage

Full Demo

(window1: user window2: admin)

full_demo

About

☕ Building an application to order coffee and view its realtime order update using socket.io

cafecoffee.herokuapp.com/

Topics

expressexpress-ejs-layoutsmongodbnode

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.