Skip to content

Commit 5d9633c

Browse files
committed
chore: update docs
1 parent c800b5b commit 5d9633c

File tree

3 files changed

+70
-18
lines changed

3 files changed

+70
-18
lines changed

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2017-present all contributors listed here https://github.com/gothinkster/vue-realworld-example-app/graphs/contributors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+46-14
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,62 @@
1-
# vue-realworld-example-app
1+
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
22

3-
> A Vue.js project
3+
# ![RealWorld Example App](./static/rwv-logo.png)
44

5-
## Build Setup
5+
> Vue.js codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the [RealWorld](https://github.com/gothinkster/realworld) spec and API.
6+
7+
Project demo is available at https://vue-vuex-realworld.netlify.com/#/
8+
9+
This codebase was created to demonstrate a fully fledged fullstack application built with **Vue.js** including CRUD operations, authentication, routing, pagination, and more.
10+
11+
We've gone to great lengths to adhere to the **Vue.js** community styleguides & best practices.
12+
13+
For more information on how to this works with other frontends/backends, head over to the [RealWorld](https://github.com/gothinkster/realworld) repo.
14+
15+
## Getting started
16+
17+
Before contributing please read the following:
18+
19+
1. [RealWorld guidelines](https://github.com/gothinkster/realworld/tree/master/spec) for implementing a new framework,
20+
2. [RealWorld frontend instructions](https://github.com/gothinkster/realworld-starter-kit/blob/master/FRONTEND_INSTRUCTIONS.md)
21+
3. [Realworld API endpoints](https://github.com/gothinkster/realworld/tree/master/api)
22+
4. [Vue.js styleguide](https://vuejs.org/v2/style-guide/index.html). Priority A and B categories must be respected.
23+
24+
The stack is built using [vue-cli webpack](https://github.com/vuejs-templates/webpack) so to get started all you have to do is:
625

726
``` bash
827
# install dependencies
9-
npm install
10-
28+
> yarn install
1129
# serve with hot reload at localhost:8080
12-
npm run dev
30+
> yarn run dev
31+
```
1332

14-
# build for production with minification
15-
npm run build
33+
Other commands available are:
1634

17-
# build for production and view the bundle analyzer report
18-
npm run build --report
35+
``` bash
36+
# build for production with minification
37+
yarn run build
1938

2039
# run unit tests
21-
npm run unit
40+
yarn run unit
2241

2342
# run e2e tests
24-
npm run e2e
43+
yarn run e2e
2544

2645
# run all tests
27-
npm test
46+
yarn test
2847
```
2948

30-
For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
49+
# To know
50+
51+
Current arbitrary choices are:
52+
53+
- Vuex modules for store
54+
- Vue-axios for ajax requests
55+
- Standard for linting
56+
- 'rwv' as prefix for components
57+
58+
These can be changed when the contributors reach a consensus.
59+
60+
# Connect
61+
62+
Join us on [Discord](https://discord.gg/NE2jNmg)

package.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
{
2-
"name": "vue-realworld-example-app",
2+
"name": "realworld-vue",
33
"version": "1.0.0",
4-
"description": "A Vue.js project",
5-
"author": "igeligel <[email protected]>",
6-
"private": true,
4+
"description": "TodoMVC for the RealWorld™",
5+
"author": "Emmanuel Vilsbol <[email protected]>",
76
"scripts": {
87
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
98
"start": "npm run dev",

0 commit comments

Comments
 (0)