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:
|
### Installation
|
||||||
* react
|
1. Clone this repo `git clone git@github.com:muerwre/vault-frontend.git`
|
||||||
* react-redux
|
2. Run `yarn install`
|
||||||
* react-router
|
3. Copy `.env_example` to `.env`
|
||||||
* connected-react-router
|
4. Set it up. You can use https://staging.vault48.org as playground
|
||||||
* redux-saga
|
|
||||||
* redux-persist
|
### Starting
|
||||||
* less, sass (modular)
|
`yarn start`
|
||||||
* reduxsauce
|
|
||||||
* typescript
|
### Building
|
||||||
|
1. Run `yarn build`
|
||||||
|
2. Copy `./dist/*` somewhere
|
||||||
|
|
|
@ -11,7 +11,6 @@ export const API = {
|
||||||
MESSAGE_SEND: (username: string) => `/user/${username}/messages`,
|
MESSAGE_SEND: (username: string) => `/user/${username}/messages`,
|
||||||
GET_UPDATES: '/user/updates',
|
GET_UPDATES: '/user/updates',
|
||||||
REQUEST_CODE: (code?: string) => `/user/restore/${code || ''}`,
|
REQUEST_CODE: (code?: string) => `/user/restore/${code || ''}`,
|
||||||
|
|
||||||
UPLOAD: (target, type) => `/upload/${target}/${type}`,
|
UPLOAD: (target, type) => `/upload/${target}/${type}`,
|
||||||
},
|
},
|
||||||
NODE: {
|
NODE: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue