GithubHelp home page GithubHelp logo

nexus's Introduction

Nexus

Description

Online chat application made using ExpressJS and HandlebarsJS. Final semester project for CS546, Web Programming I.

Run Locally

  1. Clone the repository:

    git clone https://github.com/ZhangTerrence/nexus.git
  2. Create a .env file at the app's root. The file must have the following values:

    • NODE_ENV, the current environment of the node application ("prod" | "dev").
    • PORT, the port number at which the web server will be listening on.
    • MONGO_CONNECTION_STRING, the connection string for MongoDB.
    • SESSION_SECRET, the secret used when generating sessions.
  3. Run the application in dev mode:

    npm run dev

Linting and Formatting

This project uses ESLint for its linting and Prettier for its formatting. To change configurations, go to .eslintrc.json and .prettierc.json for linting and formatting respectively.

Available Scripts

npm run lint:check

Checks if code satisfies ESLint linting configuration rules.

npm run lint:fix

Fixes any errors that can be auto-fixed.

npm run format:check

Checks if code satisfies Prettier formatting configuration rules.

npm run format:fix

Formats the code.

Seeding the Database

Simply run the following to seed the database.

npm run seed

nexus's People

Contributors

zhangterrence avatar relaxwenj avatar gscqgdw avatar ketsuryo avatar

Watchers

 avatar

Forkers

ketsuryo

nexus's Issues

Missing Return Links on Channel and Private Message Pages

When navigating to a channel's page within a server, it should have a URL link that allows users to return to the server's main page. Similarly, upon opening a private message conversation, there should be a URL link to return to the friend's page.

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.