Coder Social home page Coder Social logo

philipeano / post-it Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 907 KB

PostIT is a simple web application that enables friends and colleagues create groups for notifications.

Home Page: https://postit-phil-svr.herokuapp.com/api/v1

License: MIT License

JavaScript 85.23% CSS 7.35% HTML 7.42%

post-it's Introduction

PostIT

Build Status Coverage Status Maintainability Code Quality

Overview

PostIT is a simple web application that enables friends and colleagues create groups for notifications. It is a multi-purpose system built for group-wide messaging.

You can access the hosted API here.

Main Features

  • New users can create accounts by signing up.
  • Registered users can access the app's features by signing in.
  • Authenticated users can create groups for messaging.
  • Group owners/creators can add other users to their groups.
  • Members of a group can post messages for others to read.
  • Members of a group receive notifications when a new message is posted.
  • Authenticated users can search for other users registered on the platform.

Built with

  • NodeJS - a runtime environment for JavaScript outside of the browser
  • ExpressJS - a framework for flexibly handling HTTP routing in NodeJS applications
  • PostgreSQL - an open-source Object-Relational Database System; used for data storage
  • Sequelize - a multi-dialect, promise-based Object-Relational Mapper (ORM) for NodeJS
  • Webpack - a module for bundling JavaScript files for usage in a browser
  • Babel - a transpiler for translating ES2015+ JavaScript code into ES5.
  • Mocha - a JavaScript test framework running on NodeJS
  • Chai - a BDD/TDD assertion library; used along with Mocha to define the test specifications.

Getting started

Setting up the project locally

  • Fork this repo to your account using the fork button at the top of this GitHub page.
  • Clone the repo to your local computer by running git clone your-github-name/post-it from your terminal.

Installing the dependencies

  • Navigate to the project's directory from your terminal, with the command: cd /path/to/your/current/directory/post-it.
  • Run the following command: npm install.

Setting up the database

  • Install PostgreSQL.
  • For development purposes, create a database named postit-db-dev.
  • For testing purposes, create a database named postit-db-test.
  • Run the migration scripts using the command sequelize db:migrate.
  • Seed the database by running the commad sequelize db:seed:all

Running the tests

  • Run the command npm run start:test.

Using the app

Using Postman

  • Launch the app from the terminal, then test with Postman.

Using the browser

API Endpoints

Limitations

Contributing to the project

  • Fork this repo to your account.
  • Clone the repo to your local machine.
  • Create your feature branch on your local machine with git checkout -b your-feature-branch
  • Ensure your code adheres to the AirBnB Javascript Style Guide.
  • Commit and push your changes to your remote branch with git push origin your-feature-branch
  • Open a pull request to the master branch, and describe how your feature works.

License

MIT © Philip Newman.

post-it's People

Contributors

philipeano avatar

Stargazers

 avatar

Watchers

 avatar  avatar  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.