Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.78 KB

README.md

File metadata and controls

39 lines (27 loc) · 1.78 KB

Senpai's Log - Frontend

This directory features the frontend of the Senpai's LOG application - the public facing part of the full-stack web app, which is a REACT - Single Page Application. Read through its documentation to install dependencies.

Set-Up

Tip

The frontend is designed to work with a Flask-based Backend. It does not load successfully if the backend is not working or not connected. You can stand up the backend first, and you can test it with curl to ascertain the API is working correctly.

Node and NPM:

This project depends on Nodejs and Node Package Manager (NPM) https://nodejs.com/en/download to manage React and related dependencies.

React-Toastify

LIB INFO: this is a library for sending interactive notifications for CRUD based functionality e.g. sending a msessage to notify on deletion/update etc.

Installing project dependencies:

NPM relies on the package.json file located in the senpais-log-frontend directory, which lists out dependencies.

# DO in a terminal/shell;
$ npm install

Run:

# terminal/shell; runs server in development mode
$ npm start

Open http://localhost:3000 to view the user interface the app in-browser.
The page will reload when you make changes. You may also see any lint errors in the console.