Code Monkey home page Code Monkey logo

gostackreactnative's Introduction

GoStack

๐Ÿš€ About the Code

In this GIT repository, you will find a BE (back-end) application that stores a portfolio of repositories. With this code, you can create, list, update and remove repositories. In addition, each repo can be "liked".

We use HTTP methods like GET/POST/PUT/DELETE to allow communication of REST webservices. In BE, we use express to handle the communication, and UUID to manage the ID of users. JSON is the metadata, that allow users to send and receive data of web services.

Application Routes

  • POST /repositories: This Route receivers title, url and techs (inside body request). When a new GIT repo is create, he will be store like a format: { id: "uuid", title: 'Desafio Node.js', url: 'http://github.com/...', techs: ["Node.js", "..."], likes: 0 };

  • GET /repositories: This Route list all GIT repositories;

  • PUT /repositories/:id: This route should only change title, url and techs of repository that own id equal than id present in the route parameters;

  • DELETE /repositories/:id: The route must delete the repository with id present in the route parameters;

  • POST /repositories/:id/like: The route must increase the "likes" number of repository chosen through id present in route parameters, for each call on this route, the number of likes must be increased by 1;

TDDs of Project

All route can be tested using jest and supertest.

๐Ÿ’ป Installing Requirements

  • yarn add express
  • yarn add nodemon
  • yarn dev (to automatic development)
  • yarn test (to apply all the tests)

๐Ÿ“ License

This project uses MIT license. See the file LICENSE to more details.


Made with ๐Ÿ’œ by Raffael Schemmer ๐Ÿ‘‹ Visite meu CV Online!

gostackreactnative's People

Contributors

raffaelschemmer avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.