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.
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.
This project depends on Nodejs and Node Package Manager (NPM) https://nodejs.com/en/download
to manage React and related dependencies.
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.
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
# 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.