Skip to content

itsmartinho/youtube-challenge-nestjs-graphql

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 88.4%
  • HTML 8.6%
  • JavaScript 3.0%