GithubHelp home page GithubHelp logo

kenec / postit Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 51.86 MB

A simple application that let logged in users post messages to the groups belonged to

Home Page: https://postit-lite.herokuapp.com/

License: MIT License

JavaScript 81.60% HTML 16.59% CSS 1.80%
priority-level groups messages search reducer priority postit sequelize-cli heroku

postit's Introduction

Build Status Coverage Status Code Climate

PostIt

PostIt is an application that allows an authenticated user create a broadcast group and add members to that group for notifications.

Features:

  • User can signup and signin to the application
  • User can create a new group and be added to other groups
  • User can post messages to groups belonged to
  • Messages have priority of Normal, Urgent, Critical
  • User will receive notifications for messages posted to the groups belonged to
  • Notification can be in-app notification, email and/or SMS based on the message priority

API Documentation

The Documentation for the PostIt Restful API: PostIt Restful API Documentation

TECHNOLOGIES

Client Side:

The frontend was implemented using:

  • React A JavaScript library for building user interfaces
  • Redux Redux is a predictable state container for JavaScript apps.
  • Bootstrap Build responsive, mobile-first projects on the web.

Backend

The Backend was implemented using:

  • Node Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine
  • Express Express is a minimal and flexible Node.js web application framework
  • Sequelize Sequelize is a promise-based ORM for Node.js v4 and up. It supports the dialects PostgreSQL, MySQL, SQLite and MSSQL
  • Postgres A powerful, open source object-relational database system.

INSTALLATION

  • install Node js and Postgress
  • Clone the repository git clone https://github.com/Kenec/PostIt.git
  • Navigate to the location in your terminal
  • Run $ npm install to install dependencies
  • Setup Postgres, create a database postit and set it to port 5000 Setup postgress
  • Install sequelize-cli, Run $ npm install -g sequelize-cli (note: sudo install on ubuntu or MAC)
  • In terminal run $ sequelize db:migrate
  • Create a .env file in your root directory and follow the pattern in the .env.sample file to create environmental variables
  • Run $ npm start to get the app started on your local machine

TESTING

Client side:

To run tests for the client side:

  • Naviagate to the project location in your terminal
  • Run jest -u

Server side

To run tests for the server side

  • Navigate to the project location in your terminal
  • Run npm run test

Contributing

  1. Fork this repository
  2. Clone to your local environment: https://github.com/Kenec/PostIt.git
  3. Create your feature branch: git checkout -b my-new-feature
  4. Commit your changes: git commit -am 'Add some feature'
  5. Write test for the new features
  6. Push to the branch: git push origin my-new-feature
  7. Submit a pull request against the staging branch

Limitations

  • Different users cannot create a group with the same name
  • Users cannot delete the groups they created
  • A user cannot join a group unless added to by another user
  • When a user is added to a group, he/she cannot remove him/her self from the group unless by the group Admin
  • Message cannot be edited or deleted

FAQ

  • Is this project an open source?
    • Yes it is
  • Can I use this app for commercial purpose
    • This project is license under the MIT licence, hence it can use it for commercial purpose
  • How do I test the online version of the project
    • Create account on the online version of the app so that you can have access to the app
  • When I am logged in to the app, can I create my own group
    • Yes you can
  • How do I add people to the group
    • Select on any group from the dashboard, then enter the username of a user you want to add to the group on the search box by the right. Then click Add
  • Can I remove a user from the group I created
    • Yes
  • Can I remove a user from the group I did not create
    • No. Only the group admin can remove a user
  • Can I change my password
    • Yes you can.
      • Enter your email address in the /forgotPassword page,
      • An email containing the reset password URL will be sent to your email address
      • Click on the RESET PASSWORD button to reset password
      • Enter your new password and confirm password
      • Click change password button and your password will reset

ISSUES

To report an issue or give feedback, Click link Issues and Feedback

Authors

  • Nnamani Kenechukwu Charles

Licence

MIT License

Acknowledgments

  • Andela Talent Accelerator Team

postit's People

Contributors

kenec avatar

Watchers

 avatar  avatar

Forkers

etajuder

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.