itsmartinho / youtube-challenge-nestjs-graphql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code Challenge - NestJS + TypeORM + GraphQL

Simple GraphQL API with NestJS in Back-end. React and Apollo Client for Front-end.

Contributors License


Participants

| Guilherme Rodz

Functional Requirements

  • User register with e-mail only
  • User login with e-mail only
  • 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)
  • (optional) User need to be able to delete messages (Back-end)
  • (optional) User need to be able to delete messages (Front-end)
  • 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

  • Message can only be deleted by its author

Non-functional Requirements

  • Nest.js
  • GraphQL
  • TypeORM
  • React + Apollo Client (or another library)

What can be better?

  • User ID could be stored at Context API in Front-end;

Dependencies

Getting started

  1. Clone this repository;
  2. Run npm or yarn install at each project in order to install dependencies.
  3. Run yarn start on both front-end and back-end folder.
  4. Access localhost:3000 in your browser. GraphQL playground: localhost:3333/graphql.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.

About


Languages

Language:TypeScript 88.4%Language:HTML 8.6%Language:JavaScript 3.0%