nmpereira / time-share

http://vulture.nmpereira.com/
2 stars 3 forks source link

Time-Share

https://vulture.nmpereira.com

A shared timer for working together remotely!

Create a timer, share it with friends or colleagues.

You both see the same synced time!

Screenshot

mario_timer_screenshot

Demo

ezgif com-gif-maker(1)

Tech Stack

Client: EJS, Socket.io, Bootstrap 5

Server: Socket.io, Node-Fetch, Express, Momentsjs, MongoDB (Mongoose), ... among other things.

Installation

    1. clone `https://github.com/nmpereira/time-share`
    2. install `node` and run `npm install`
    3. Create an account in https://www.mongodb.com/ and create a collection, ensure network access from `0.0.0.0/0`
    4. Copy the connection url from MongoDB to your local directory in a `.env` file. Name the variable `dbURI_time=<mongodb+srv://connection url>`

Deployment

To run this project

For Development, run npm run devstart in the root directory. (the express app will serve the .ejs frontend)
For Production, run npm start in the root directory. (the express app will serve the .ejs frontend)

Features

This project is hosted on railway.app