Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rocketseat-content/youtube-challenge-nestjs-graphql
GraphQL API with NestJS in Back-end. React in Front-end.
https://github.com/rocketseat-content/youtube-challenge-nestjs-graphql
Last synced: 2 months ago
JSON representation
GraphQL API with NestJS in Back-end. React in Front-end.
- Host: GitHub
- URL: https://github.com/rocketseat-content/youtube-challenge-nestjs-graphql
- Owner: rocketseat-content
- Created: 2020-03-24T21:24:58.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-12T11:35:05.000Z (about 4 years ago)
- Last Synced: 2024-07-31T19:54:58.676Z (6 months ago)
- Language: TypeScript
- Homepage:
- Size: 2.1 MB
- Stars: 82
- Watchers: 5
- Forks: 43
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Code Challenge - NestJS + TypeORM + GraphQLSimple GraphQL API with NestJS in Back-end. React and Apollo Client for Front-end.
## Participants
| [](https://github.com/guilhermerodz) |
| :------------------------------------------------------------------------------------------------------------------------: || [Guilherme Rodz](https://github.com/guilhermerodz)
## Functional Requirements
- [x] User register with e-mail only
- [x] User login with e-mail only
- [x] User need to be able to post messages on the Board (Back-end)
- [ ] User need to be able to post messages on the Board (Front-end)
- [x] (optional) User need to be able to delete messages (Back-end)
- [ ] (optional) User need to be able to delete messages (Front-end)
- [x] New messages can be listed at real time (Back-end)
- [ ] New messages can be listed at real time (Front-end)
- [ ] Add Swagger support
- [ ] DataLoader integration## Business Rules
- [x] Message can only be deleted by its author
## Non-functional Requirements
- [x] Nest.js
- [x] GraphQL
- [x] TypeORM
- [x] React + Apollo Client (or another library)## What can be better?
- User ID could be stored at Context API in Front-end;
## Dependencies
- [Node](https://nodejs.org/en/) = 10
## Getting started
1. Clone this repository;
2. Run `npm or yarn install` at each project in order to install dependencies.
3. Run `yarn start:dev` for `back-end` and `yarn start` for `front-end` folder.
4. Access `localhost:3000` in your browser. GraphQL playground: `localhost:3333/graphql`.## Contributing
Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests.