-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add subscriber to new users fix some problems
- Loading branch information
Showing
3 changed files
with
136 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: "" | ||
labels: bug | ||
assignees: "" | ||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
|
||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Desktop (please complete the following information):** | ||
|
||
- OS: [e.g. iOS] | ||
- Browser [e.g. chrome, safari] | ||
- Version [e.g. 22] | ||
|
||
**Smartphone (please complete the following information):** | ||
|
||
- Device: [e.g. iPhone6] | ||
- OS: [e.g. iOS8.1] | ||
- Browser [e.g. stock browser, safari] | ||
- Version [e.g. 22] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: "" | ||
labels: documentation, help wanted, question | ||
assignees: "" | ||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,80 @@ | ||
# Social Network Server | ||
# Network Server | ||
|
||
server version `0.0.2` | ||
use `node ^14` | ||
npm version: `6.13.4` | ||
node version: `12.16.0` | ||
|
||
Steps to run this project: | ||
## Installation | ||
|
||
1. Run `npm i` command | ||
2. Setup database settings inside `ormconfig.json` file | ||
3. Run `npm start` command | ||
1. Setup your `env` configuration | ||
|
||
- Create `.env` file in main folder | ||
- Copy example file configuration from `.env-example` file | ||
|
||
2. Install packages | ||
|
||
- To install all dependency and packages use command | ||
|
||
```sh | ||
npm install | ||
``` | ||
|
||
## Usage example | ||
|
||
1. Run application | ||
|
||
- To start server use command | ||
|
||
```sh | ||
npm run start | ||
``` | ||
|
||
2. More options | ||
|
||
- To drop database and restart server (if you have different database name rename database in `package.json`) use command | ||
|
||
```sh | ||
npm run rebuildDB | ||
``` | ||
|
||
_For more examples and usage, please refer to the [Wiki][wiki]._ | ||
|
||
## Development setup | ||
|
||
```sh | ||
npm install | ||
npm run start | ||
``` | ||
|
||
## Release History | ||
|
||
- 0.2.0 | ||
- ADDED: Subscribe to new user | ||
- Fix some problems | ||
- 0.1.0 | ||
- First Release | ||
- ADDED: users schema, added fuctions create,delete and update user information | ||
- ADDED: profile for users (basic user information include username and etc..) | ||
- ADDED: settings for users (basic user settings added to user profile) | ||
- ADDED: authentication middleware (protected queries and routes by checking user authenticated status) | ||
- ADDED: login and logout (routes thats provide users to login and logout from application) | ||
- Init todo list and items (connect todo list to user profile) | ||
- 0.0.1 | ||
- Init project | ||
|
||
## Meta | ||
|
||
Amary Filo – [@lamiqv](https://twitter.com/lamiqv) – [email protected] | ||
|
||
Distributed under the MIT license. See `LICENSE` for more information. | ||
|
||
[https://github.com/Am-Filo/social-network-todo-server](https://github.com/Am-Filo/social-network-todo-server) | ||
|
||
## Contributing | ||
|
||
1. Fork it (<https://github.com/Am-Filo/social-network-todo-server/fork>) | ||
2. Create your feature branch (`git checkout -b feature/fooBar`) or use gitflow (`git flow feature start fooBar`) | ||
3. Commit your changes (`git commit -am 'Magic commit'`) | ||
4. Push to the branch (`git push origin feature/fooBar`) | ||
5. Create a new Pull Request | ||
|
||
[wiki]: https://github.com/Am-Filo/social-network-todo-server/wiki |