|
1 | 1 | # Gistology |
2 | 2 |
|
| 3 | +An app to record the best gists that make life easier. |
| 4 | +A starter app using **MEAN2** + **Socket.io** |
| 5 | + |
| 6 | +https://gistology.herokuapp.com |
| 7 | + |
3 | 8 | This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.0.1. |
4 | 9 |
|
5 | | -## Development server |
| 10 | +## Demo |
| 11 | +- [Link](https://gistology.herokuapp.com) |
| 12 | +- [Video](https://youtu.be/ivvVqm-xkJQ) |
6 | 13 |
|
7 | | -Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. |
| 14 | +## Getting Started |
8 | 15 |
|
9 | | -## Code scaffolding |
| 16 | +After get the source code, it is recommanded to read the full article on medium that describes at a glance what is in this repository: |
| 17 | +[Build a real time & MD app with Angular2, AngularCli, AngularMaterial2 & Socket.io](https://medium.com/@dassiorleando/cedf1dc02fec) |
10 | 18 |
|
11 | | -Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|module`. |
| 19 | +## Features |
12 | 20 |
|
13 | | -## Build |
| 21 | +### Done |
| 22 | +- Architecture |
| 23 | +- Material Design |
| 24 | +- CRUD of gist via rest |
| 25 | +- Real time Notification using socket.io |
| 26 | +- |
14 | 27 |
|
15 | | -Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build. |
| 28 | +### To DO |
| 29 | +- Some validations on UI and Server |
| 30 | +- CRUD of gist using socket.io |
| 31 | +- Write tests |
| 32 | +- Update angular-cli generator to allow to generate a crud using socket.io |
| 33 | +- Setup **continuous integration build** and **semantic release** |
| 34 | + |
| 35 | +## Installing |
| 36 | + |
| 37 | +1. git clone https://github.com/dassiorleando/gistology |
| 38 | +2. Be sure your node and npm version is compatible, there is used: node(6.10.2) & npm(4.5.0) |
| 39 | +3. ```npm install``` |
| 40 | +4. Install mongod and run it |
| 41 | +5. ```ng build``` & ```ng serve```(frontend work): Livereload will be enable here for front |
| 42 | +6. ```ng build``` & ```node index.js```(frontend + backend work) |
| 43 | +7. For frontend work access the app at `http://localhost:4200` and for B and F, go here: `http://localhost:3000` |
16 | 44 |
|
17 | 45 | ## Running unit tests |
18 | 46 |
|
19 | 47 | Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). |
20 | 48 |
|
21 | 49 | ## Running end-to-end tests |
22 | 50 |
|
23 | | -Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/). |
| 51 | +Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org). |
24 | 52 | Before running the tests make sure you are serving the app via `ng serve`. |
25 | 53 |
|
26 | | -## Further help |
| 54 | +## Code scaffolding |
| 55 | + |
| 56 | +Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|module`. |
| 57 | + |
| 58 | +## Built With |
| 59 | +- MEAN(Angular2) |
| 60 | +- AngularCli |
| 61 | +- Typescript |
| 62 | +- Socket.io |
| 63 | +- AngularMaterial2 |
| 64 | +- AngularFlexLayout |
| 65 | +- Angular2Toaster |
| 66 | +- Mongoose |
| 67 | + |
| 68 | +## Contributing |
| 69 | + |
| 70 | +We accept pull requests :) |
| 71 | +No contributing guide published yet |
| 72 | + |
| 73 | +## Versioning |
| 74 | +0.5.0 |
| 75 | + |
| 76 | +## Authors |
| 77 | +- [Dassi Orleando](https://github.com/dassiorleando) - Initial work |
| 78 | + |
| 79 | +See also the list of [contributors](https://github.com/dassiorleando/gistology/contributors) who participated in this project. |
| 80 | + |
| 81 | +## License |
27 | 82 |
|
28 | | -To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md). |
| 83 | +[](https://creativecommons.org/publicdomain/zero/1.0/) |
0 commit comments