Coder Social home page Coder Social logo

fullstack-application's Introduction

Full stack application

This is a full stack application created by Geon Yoon.I programmed both the frontend and the backend. I could have created the application more straightforwardly so that I can decrease the number of HTTP requests and the size of the codes. However, my focus was on how to develop the application in a well-organized way so that this application can be expanded quickly in the real world scenario and modified efficiently. I emphasize separating the functionality of a program into independent, interchangeable modules, such that each contains everything necessary to execute only one aspect of the desired functionality.

This is an overview of the application.

Extra Assumptions I made

Frontend

  • If the user deletes the starred message, the length of the starred item is be decreased.
  • After the user deletes the messages, they cannot undo it. Trash buttons do not appear on the deleted messages.
  • You cannot highlight any texts on trashed messages.
  • When the user refreshes the page:
    • Messages become unsorted.
    • All the highlights disappear.
  • You cannot unsort the messages by clicking the button because there is no point of unsorting the messages.
  • The frontend runs on localhost:3000

Backend

  • The database is last until the backend server is running. Since I used the In-memory database, the database is reset when the server is restarted or shut down. Therefore, all the changes made by the user in the frontend do not disappear as long as the server is running.
  • When the message is clicked to be starred(unstarred) or trashed, the server only sends the modified message so that the frontend updates one message instead of updating entire messages.
  • The backend does text highlighting. The frontend only renders the messages.
  • The backend runs on localhost:5000

How To install

Clone the repository and get inside of the root directory.

git clone [email protected]:GeonYoon/fullstackp-application.git
cd fullstack-application

Backend Installation

Get into the backend directory and install all the dependencies before you run the server.

cd backend
npm install
npm run dev 

Frontend Installation

Get into the frontend directory and install all the dependencies before you run the server.

cd frontend
npm install
npm start

Built With

  • React - Used to build client side
  • Redux - Predictable state container for JavaScript apps
  • Node.js - Used to build server side
  • Express.js - Framework for Node.js
  • Axios - Promise based HTTP client for the browser and node.js
  • SQLite - Database

Authors

  • **Geon Yoon ** - Initial work - GeonYoon

fullstack-application's People

Contributors

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