gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant-backoffice] branch master updated: Add more information


From: gnunet
Subject: [taler-merchant-backoffice] branch master updated: Add more information into readme
Date: Thu, 11 Feb 2021 13:42:23 +0100

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository merchant-backoffice.

The following commit(s) were added to refs/heads/master by this push:
     new cfc7555  Add more information into readme
cfc7555 is described below

commit cfc7555d804e96b49ddfaae792e7fadf0c0cd8c3
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Thu Feb 11 09:42:13 2021 -0300

    Add more information into readme
---
 .env         |  1 -
 .gitignore   |  1 +
 README.md    | 43 +++++++++++++++++++++++++++++++++++++------
 package.json |  1 -
 4 files changed, 38 insertions(+), 8 deletions(-)

diff --git a/.env b/.env
deleted file mode 100644
index ac990ee..0000000
--- a/.env
+++ /dev/null
@@ -1 +0,0 @@
-BACKEND_ENDPOINT=http://localhost:9965
diff --git a/.gitignore b/.gitignore
index 44a3358..b64b74c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /node_modules
 /size-plugin.json
 /storybook-static
+/.env
diff --git a/README.md b/README.md
index 2589daa..c756821 100644
--- a/README.md
+++ b/README.md
@@ -1,17 +1,33 @@
-# backoffice-preact
+## Merchant Admin Frontend
 
-First copy template.env into .env
-Replace evironment variables
+Merchant Admin Frontend is a Single Page Application that connect with a 
running Merchant Backend and lets you manage instances, order, products and 
tippings
 
+## System requirements
+
+- Node version: 14.15.0
+- Yarn version: 1.21.1
+
+## Environment
+
+This applications use some configuration from the environment, like the 
location of the Merchant Backend.
+Be sure to copy the file `template.env` into `.env` and override with your 
custom values.
+## Installation
+
+First run the command `yarn install` to get all the dependencies.
+The running `yarn dev` should set the server up and running.
+Use the browser to navigate into `http://localhost:8080`
 
 ## CLI Commands
+
 *   `yarn install`: Installs dependencies
 
-*   `yarn dev`: Run a development, HMR server
+*   `yarn dev`: Run a development, HMR server. The application will 
automatically refresh 
+     every time a file is edited
 
-*   `yarn serve`: Run a production-like server
+*   `yarn build`: Production-ready build into the `./build` directory. Print 
bundle size 
+     information and compare its with previous build using the 
`size-plugin.json` file.
 
-*   `yarn build`: Production-ready build
+*   `yarn serve`: Serves the content into `./build` directory, usefull to test 
the result.
 
 *   `yarn lint`: Pass TypeScript files using ESLint
 
@@ -19,4 +35,19 @@ Replace evironment variables
     
[`enzyme-adapter-preact-pure`](https://github.com/preactjs/enzyme-adapter-preact-pure)
 for
     your tests
 
+*   `yarn storybook`: Run visual components explorer. Usefull for components 
design and development
+    without the need of setting up the whole system.
+
+
+## Runtime dependencies
+
+*   Axios: Promise based HTTP client for the browser and node.js
+
+*   preact: Fast 3kB alternative to React with the same modern API
+
+*   preact-router: URL component router for Preact
+
+*   SWR: React Hooks library for data fetching. (stale-while-revalidate)
+
+*   Yup: schema builder for value parsing and validation
 
diff --git a/package.json b/package.json
index f0c1136..606f5e5 100644
--- a/package.json
+++ b/package.json
@@ -10,7 +10,6 @@
     "lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
     "test": "jest ./tests",
     "storybook": "start-storybook -p 6006",
-    "build-storybook": "build-storybook"
   },
   "eslintConfig": {
     "parser": "@typescript-eslint/parser",

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]