mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
updated readme
This commit is contained in:
parent
02ebc3932e
commit
c56a5275c2
2 changed files with 13 additions and 12 deletions
24
README.md
24
README.md
|
@ -1,12 +1,14 @@
|
|||
### My empty react project template
|
||||
This is [vault48.org](https://vault48.org) frontend.
|
||||
|
||||
Includes:
|
||||
* react
|
||||
* react-redux
|
||||
* react-router
|
||||
* connected-react-router
|
||||
* redux-saga
|
||||
* redux-persist
|
||||
* less, sass (modular)
|
||||
* reduxsauce
|
||||
* typescript
|
||||
### Installation
|
||||
1. Clone this repo `git clone git@github.com:muerwre/vault-frontend.git`
|
||||
2. Run `yarn install`
|
||||
3. Copy `.env_example` to `.env`
|
||||
4. Set it up. You can use https://staging.vault48.org as playground
|
||||
|
||||
### Starting
|
||||
`yarn start`
|
||||
|
||||
### Building
|
||||
1. Run `yarn build`
|
||||
2. Copy `./dist/*` somewhere
|
||||
|
|
|
@ -11,7 +11,6 @@ export const API = {
|
|||
MESSAGE_SEND: (username: string) => `/user/${username}/messages`,
|
||||
GET_UPDATES: '/user/updates',
|
||||
REQUEST_CODE: (code?: string) => `/user/restore/${code || ''}`,
|
||||
|
||||
UPLOAD: (target, type) => `/upload/${target}/${type}`,
|
||||
},
|
||||
NODE: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue