Say Hi Github application using react hooks

Give a Star! :star:

If you like or are using this project to learn or start your solution, please give it a star. Thanks!

1. SayHiGithub


With this application, the use of react hooks and context api has been implemented. Hooks used: useState, useContext, useEffect

Gihthub API

  • Root Endpoint

  • Get User

  • Repos

  • Followers

  • Rate Limit

    For unauthenticated requests, the rate limit allows for up to 60 requests per hour. Unauthenticated requests are associated with the originating IP address, and not the user making requests.

2. SayHiMERN


GraphQL api and MongoDb database are used in this application.User object performs booking and home event operations with GraphQl API.the user subscribes to the application and logs on. It receives token data at the login process. With this token information, the application can be online.

  • React-material is used in interface designs.
  • If the user is not the owner of the event, he / she cannot see the detail information.
  • inserted react-material-spinner for waiting to response of api
  • The user views event detail in popup
  • The user can make the reservation via popup.
  • Avoided fetching data if components are inactive.
  • Each user can see their own booking list.
  • Each user can see their own event list.
  • The user can cancel the reservation.

SmartBook API

for GraphQL Documentation

Installation

  • npm install --save express body-parser
  • npm install --save-dev nodemon
  • npm install --save dataloader

3. SayHiMEAN


In this study, practice of grahql, apollo and angular has been done.
  • Accesses mongodb database with GraphQl API.
  • Angular FW is used on the frontend side.

Installation

  • npm i express express-graphql graphql mongoose body-parser cors

4. SayHiSemanticUi


This work is a MERNG application. Users share book status.The database is MongoDb and the backend is GraphQL.The user interface has been developed with ReactJs and SemanticUI components.

  • Implemented apollo custom errors form form validation
  • Created files&folders structure
  • After login action user has token
  • User can add book post
  • User delete book post
  • User delete his/her comment
  • User can like other user's book posts
  • User can comment on other users' book posts
  • Users register with the application
  • After login action user has token
  • Showed error messages
  • Used loading component for waiting processes
  • Implemented custom hooks

Entities

BookPost Comment Like User RegisterInput
id: ID! id: ID! id: ID! id: ID! username: String!
author: String! createdAt: String! createdAt: String! email: String! password: String!
name: String! username: String! username: String! token: String! confirmPassword: String!
user: User! id: ID! username: String! email: String!
createdAt: String! body: String! createdAt: String! imageUrl: String!
comments:[Comment]! imageUrl: String!
likes: [Like]!
likeCount: Int!
commentCount: Int!
  • Query
    • getBookPosts: [BookPost]
    • getBookPost(postId: ID!): BookPost
  • Mutation
    • register(registerInput: RegisterInput): User!
    • login(username: String!, password: String!): User!
    • createBookPost(author: String!, name: String!): BookPost!
    • deleteBookPost(postId: ID!): String!
    • createComment(postId: String!, body: String): BookPost!
    • deleteComment(postId: String!, commentId: ID!): BookPost!
    • likeBookPost(postId: ID!): BookPost!
  • Subscription
    • newBookPost: BookPost!

Installation

  • npm install apollo-server grahql mongoose
  • npm install bcryptjs jsonwebtoken
  • npm install @apollo/react-hooks apollo-cache-inmemory apollo-link-http apollo-client
  • npm install --save dataloader

5. SayHiReactQuery


This study demonstrates the use of the React-Jquery library.In addition, the use of react-material and component-style are shown.

  • The fakestoreapi API source lists fake product information.
  • The product can be added to the cart
  • The amount of product in the cart can be changed.
  • As the amount of product changes, the total cost is recalculated.
  • Product can be removed from the basket.

Installation

  • npx create-react-app SayHiReactQuery --template typscript
  • npm i @material-ui/core @material-ui/icons
  • npm i react-query
  • npm i styled-components @types/styled-components

6. SayHiLaravel


With this study, a social media application was made using Laravel Framework at a simple level. Sqlite database has been used.Tailwind CSS is used in frontend design.

  • The user can become a member of the application.
  • The user can log in to the application.
  • The user can share posts.
  • The user can view other users' posts.
  • The user can delete their own post.
  • The user can like the post.
  • The posts belonging to the user are listed separately.
  • The user's email, name, user name, membership period information are displayed.
  • When the user likes, an e-mail is sent via mailtrap.
  • Spam sending has been blocked.
  • The liking is soft-deleting.

Installation

  • composer global require laravel
  • laravel new projectName
  • php artisan serve
  • npm install tailwindcss
  • npm install

7. SayHiPHP


Semantic UI is used for frontend design in this application. Mysql is used for the database. The application was coded in PHP programming language and Laravel FrameWork was used. Ajax calls were made with the JQuery library.

  • This application is a pizza ordering application.
  • The user can become a member of the application.
  • The user can log in to the application.
  • The user can place an order.
  • The user can delete his order.
  • The user can view the order details.
  • The user can view the order list.
  • The user creates his own pizza.
  • The user selects from the saved pizza ingredients.
  • User can add extra material to her order.
  • Email address is specific to the user.
  • The user can reset their password.
  • The user must register in the application to order.

8. SayHiPhpMvc


Modern PHP is used in this work. This means no framework is used. PDO was used for database operations. Migration operations were carried out using filing structure and raw sql queries.


The user's password is stored in the database in hash form. Interface has been designed with Bootstrap library and MYSQL is used as database, a middleware mechanism has been developed for auth control. Users who are not logged in cannot access the homepage.

  • SOLID DRY and KISS software development principles are focused. OOP has been applied using abstraction and encapsulation structures.
  • The project is generally developed with the MVC design pattern.

The project topic is very simple: Users sign up for the application and see the list of other members on the main page.

9. SayHiStyledComponent


It is a ReactJs application that uses a TypeScript template.Styled component structure is used in this study.It is an introductory level work to Styled component.Joke search was made using JOKE API. Jokes are listed according to the searched keyword.


Installation

  • npm install @types/styled-components styled-components
  • npm install --save axios

10. SayHiReactTypeScriptTemplate


This work is a ReactJs application written with the TypeScript Template structure. Countries are listed using the RestCountriesAPI. Searches can be made between countries. ReactQuery and Axios libraries are used for http requests. Interface design is made using MaterialUI components.

11. SayHiXAML


In this study, an interface was designed using the XAML language. The main purpose of the application is to demonstrate the use of the strategy design pattern. Each student has a department. These are: numerical, verbal and equilibrium. In the exams, students order courses according to their departments. These courses are in Turkish, mathematics, social and science. The strategy design pattern prepares a priority order for the students according to their departments.

12. SayHiTypeScript


In this tutorial, the installation and usage of typescript is explained. The basics of TypeScript are practiced. Especially the use of tuple and interface has been studied.

This working will show you how to :


Compiling TypeScript Explicit Types Classes Rendering an HTML Template
Type Basics Dynamic (Any) Types Public, Private & Readonly Generics
Object & Arrays Better Workflow & tsconfig Modules Enums
Function Basics Type Alies Interfaces Tuples
Function signatures The Dom & Type Casting Interfaces With Classes

13. SayHiVue


This work is a Vue3 project. Data listing and sorting were done with json data. Practice has been made on using Vue-cli. Parent and child component relationship is examined.

14. SayHiPython


With this study, an introduction to OOP with python was made. Excel file reading and data processing were done.

Helpfull Websites

json-to-js json2ts fusioncharts React-Query-Tutorial Laravel-artisan-blog MailTrap HeroIcons
The Net Ninja- Laravel Tutorial Quicksand MyColorSpace JokeAPI
RestCountries FakeStoreAPI
Strategy Pattern TypeScriptTutorial CatAPI
Python Tutorial for Beginners - Learn Python in 5 Hours [FULL COURSE]

GitHub

View Github