Skip to content

Message Board application with React, Redux and Styled Components, Cypress, HTML, CSS, JS

Notifications You must be signed in to change notification settings

samrat-ghosh-13/chatroom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Message Board Application

Tech Stack

In the project directory, you can run:

Available Scripts

For running the app in local

use yarn start and yarn server in two different terminal windows.

For testing the app in local

use yarn start and yarn server in two different terminal windows and -

  • yarn test for running the tests in terminal
  • yarn test:headless for running the tests in headless browser
  • yarn test:e2e for running the End to End test cases

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn server

use yarn server to start the Fake JSON Server to fetch the data from the API Endpoints, which in turn fetch data from db.json Runs the JSON server in the development mode.
Open http://localhost:8000 to view it in the browser.

yarn test

use yarn test to do unit testing of the components and the reducers using cypress.io

yarn test:e2e

use yarn test:e2e to do end to end testing using cypress.io

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

yarn eject

Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

Functionalities

  • A client can create a new public message thread (post signin)
  • A client can add a public reply to a message thread (post signin)
  • A client can modify their own messages (post signin)
  • A client can delete their own messages (post signin)
  • Public message threads and replies are viewable (post signin)
  • A client can sign in or register

Lighthouse reports

Web vitals of the application in Desktop and mobile -

Desktop -

Screenshot 2021-10-27 at 3 15 22 AM

Mobile -

Screenshot 2021-10-27 at 3 18 21 AM

What can be improved?

  • using color variables
  • using margin, spacing variables
  • using constants to store the static texts, that can support multiple languages

About

Message Board application with React, Redux and Styled Components, Cypress, HTML, CSS, JS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published