Code Monkey home page Code Monkey logo

lighthouse_town's Introduction

Lighthouse Town

About

A Retro gaming inspired online chatting app - focused on bringing developers and collaborators together.
Built with React.js, Socket.IO, React Router and Express Node.js

Collaborators

Preview

  • Lighthouse Town Plaza - see other users online
    see other users online in app plaza

  • Login
    login form

  • Registration
    registration form

  • Share Video via lecture button
    share an external video in app with other users

  • Synced Video
    embedded synced video on other users' clients

  • Chat to All with bubble over avatar
    bubble chat popup over user's avatar

  • Private chat any location
    private chat window

Features

  • login with existing userdata
  • register with unique email and username
  • choose their programming languages and avatar in registeration
  • see other online users
  • control their own avatar
  • see other online users' movement
  • communicate to all
  • communicate to specific user
  • share video link in js room via lecture button
  • User cannot see unrelated private messages
  • see public messages over the head of avatar
  • see online users list and friends list
  • add a friend by click 'Add frined' on online list
  • see online user's information by click 'View profile' on online list's user tag
  • send message by click 'Send message' on online list's user tag

Usage

  • Clone and cd into repo
    git clone [email protected]:mikyYun/lighthouse_town.git && cd lighthouse_town

Server Setup

  • cd server
  • npm i in server folder to install server dependencies
  • cp .env.example .env to create environment variables file

Database

  • login to psql as any admin
    postgres psql

  • create 'development' superuser
    CREATE USER development WITH SUPERUSER PASSWORD 'development';
    \du => check new user

  • create new database
    CREATE DATABASE coding_buddy_development;
    \l => check new database

  • login with new user psql -d coding_buddy_development -U development \

  • enter password development to login
    \conninfo => check current user

Client Setup

  • cd client (from root folder)
  • npm i in app folder
  • cp .env.example .env

Troubleshooting

  • initialize the database
    npm run db:reset in server folder
  • ctrl + C to stop the server or client

Run the App

  • run server and client together from server folder
    npm run runall

  • OR run server individually
    npm run dev from server folder

  • run client
    npm start from app folder

lighthouse_town's People

Contributors

mikyyun avatar iamhpark avatar moon-choi avatar symphony avatar

Stargazers

 avatar Manmohit Matharu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.