Git Product home page Git Product logo

vicken-ghoubiguian / goemojisgithubapiwebserver Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.25 MB

Web application written in Go to collect and display all the emojis ๐Ÿงฎ โš“ ๐Ÿฅˆ ๐Ÿšก ๐Ÿฅ‡ ๐Ÿ‡ฆ๐Ÿ‡ธ ๐Ÿฅ‘ โš—๏ธ ๐Ÿ‰‘ ๐Ÿฅ‰ โš•๏ธ ๐Ÿง‘โ€๐Ÿš€ ๐Ÿ‡ณ๐Ÿ‡ท ๐Ÿ™ ๐ŸŽ  ๐Ÿ› ๏ธ ๐Ÿ—พ ๐Ÿ“ฝ๏ธ ๐ŸŽž๏ธ ๐Ÿ‡ฎ๐Ÿ‡ด ๐ŸŽฐ โ˜ฆ๏ธ ๐Ÿ‡ฐ๐Ÿ‡ต ๐Ÿ‡ฒ๐Ÿ‡ต ๐Ÿฉน ๐Ÿšก ๐Ÿ‘ถ โš”๏ธ ๐Ÿฅ– ๐Ÿ‡ฆ๐Ÿ‡ฒ โฐ ๐Ÿฑ ๐Ÿ˜ฝ ๐Ÿ’• ๐Ÿ‡ฆ๐Ÿ‡ฑ ๐Ÿ‡ฆ๐Ÿ‡ฝ ๐Ÿ’ช ๐Ÿฅ„ ๐Ÿ‡ง๐Ÿ‡ธ โ™’ ๐Ÿš‘ ๐Ÿค ๐Ÿ‘ฝ ๐Ÿ‡ฆ๐Ÿ‡ธ ๐Ÿบ ๐Ÿ’ข ๐Ÿ‘ผ ๐Ÿ€ ๐Ÿšฒ ๐Ÿ‘™ ๐ŸŽฑ ๐Ÿ”‹ ๐Ÿ‡จ๐Ÿ‡บ ๐ŸŽน ๐ŸŽต ๐Ÿœ ๐Ÿ“† ๐ŸŒ‡ ๐ŸŽ ๐Ÿ‡ฆ๐Ÿ‡ถ ๐Ÿ’” ๐Ÿ‘พ ๐Ÿงฌ ๐Ÿช• ๐Ÿ‡ฏ๐Ÿ‡ช ๐Ÿฆ  ๐Ÿค– โ˜„๏ธ ๐ŸŒƒ โ™พ๏ธ โ„น๏ธ ๐Ÿคฟ used in GitHub via its API...

License: MIT License

Go 56.84% CSS 12.08% Dockerfile 3.54% JavaScript 27.54%
golang go go-package golang-application emojis emoji unicode git github webapp

goemojisgithubapiwebserver's Introduction

goEmojisGitHubAPIWebServer ๐Ÿงฎ โš“ ๐Ÿฅˆ ๐Ÿšก ๐Ÿฅ‡ ๐Ÿ‡ฆ๐Ÿ‡ธ ๐Ÿฅ‘ โš—๏ธ ๐Ÿ‰‘ ๐Ÿฅ‰ โš•๏ธ ๐Ÿง‘โ€๐Ÿš€ ๐Ÿ‡ณ๐Ÿ‡ท ๐Ÿ™ ๐ŸŽ  ๐Ÿ› ๏ธ ๐Ÿ—พ ๐Ÿ“ฝ๏ธ ๐ŸŽž๏ธ ๐Ÿ‡ฎ๐Ÿ‡ด ๐ŸŽฐ โ˜ฆ๏ธ ๐Ÿ‡ฐ๐Ÿ‡ต ๐Ÿ‡ฒ๐Ÿ‡ต ๐Ÿฉน ๐Ÿšก ๐Ÿ‘ถ โš”๏ธ ๐Ÿฅ– ๐Ÿ‡ฆ๐Ÿ‡ฒ โฐ ๐Ÿฑ ๐Ÿ˜ฝ ๐Ÿ’• ๐Ÿ‡ฆ๐Ÿ‡ฑ ๐Ÿ‡ฆ๐Ÿ‡ฝ ๐Ÿ’ช ๐Ÿฅ„ ๐Ÿ‡ง๐Ÿ‡ธ โ™’ ๐Ÿš‘ ๐Ÿค ๐Ÿ‘ฝ ๐Ÿ‡ฆ๐Ÿ‡ธ ๐Ÿบ ๐Ÿ’ข ๐Ÿ‘ผ ๐Ÿ€ ๐Ÿšฒ ๐Ÿ‘™ ๐ŸŽฑ ๐Ÿ”‹ ๐Ÿ‡จ๐Ÿ‡บ ๐ŸŽน ๐ŸŽต ๐Ÿœ ๐Ÿ“† ๐ŸŒ‡ ๐ŸŽ ๐Ÿ‡ฆ๐Ÿ‡ถ ๐Ÿ’” ๐Ÿ‘พ ๐Ÿงฌ ๐Ÿช• ๐Ÿ‡ฏ๐Ÿ‡ช ๐Ÿฆ  ๐Ÿค– โ˜„๏ธ ๐ŸŒƒ โ™พ๏ธ โ„น๏ธ ๐Ÿคฟ

Web application written in Go to collect and display all the emojis ๐Ÿงฎ โš“ ๐Ÿฅˆ ๐Ÿšก ๐Ÿฅ‡ ๐Ÿ‡ฆ๐Ÿ‡ธ ๐Ÿฅ‘ โš—๏ธ ๐Ÿ‰‘ ๐Ÿฅ‰ โš•๏ธ ๐Ÿง‘โ€๐Ÿš€ ๐Ÿ‡ณ๐Ÿ‡ท ๐Ÿ™ ๐ŸŽ  ๐Ÿ› ๏ธ ๐Ÿ—พ ๐Ÿ“ฝ๏ธ ๐ŸŽž๏ธ ๐Ÿ‡ฎ๐Ÿ‡ด ๐ŸŽฐ โ˜ฆ๏ธ ๐Ÿ‡ฐ๐Ÿ‡ต ๐Ÿ‡ฒ๐Ÿ‡ต ๐Ÿฉน ๐Ÿšก ๐Ÿ‘ถ โš”๏ธ ๐Ÿฅ– ๐Ÿ‡ฆ๐Ÿ‡ฒ โฐ ๐Ÿฑ ๐Ÿ˜ฝ ๐Ÿ’• ๐Ÿ‡ฆ๐Ÿ‡ฑ ๐Ÿ‡ฆ๐Ÿ‡ฝ ๐Ÿ’ช ๐Ÿฅ„ ๐Ÿ‡ง๐Ÿ‡ธ โ™’ ๐Ÿš‘ ๐Ÿค ๐Ÿ‘ฝ ๐Ÿ‡ฆ๐Ÿ‡ธ ๐Ÿบ ๐Ÿ’ข ๐Ÿ‘ผ ๐Ÿ€ ๐Ÿšฒ ๐Ÿ‘™ ๐ŸŽฑ ๐Ÿ”‹ ๐Ÿ‡จ๐Ÿ‡บ ๐ŸŽน ๐ŸŽต ๐Ÿœ ๐Ÿ“† ๐ŸŒ‡ ๐ŸŽ ๐Ÿ‡ฆ๐Ÿ‡ถ ๐Ÿ’” ๐Ÿ‘พ ๐Ÿงฌ ๐Ÿช• ๐Ÿ‡ฏ๐Ÿ‡ช ๐Ÿฆ  ๐Ÿค– โ˜„๏ธ ๐ŸŒƒ โ™พ๏ธ โ„น๏ธ ๐Ÿคฟ used in GitHub via its API...

Contents

  1. Introduction
  2. Presentation
  3. Project's structure
  4. How was this project developed ?
  5. How does this project work ?
  6. How to use it ?
  7. How to deploy it ?
  8. Where to use it ?
  9. Useful links
  10. Conclusion

Introduction

This is a web application which collect and display all the emojis used in GitHub via its API. This web application was developed when my contract at IMERIR ended successfully. My interest in emojis then grew and so I started to develop projects on emojis. This is the first of a long list putting emojis front and center.

Presentation

Coming soon...

Project's structure

What is this project and this web application made of ? Here are all of the elements... Therefore:

  • The Go file goEmojisGitHubAPIWebServer.go, which is the main file, the executable file, of this web application,
  • The assets folder
  • The tmpl folder
  • The Dockerfile file,
  • The README.md file, which is a markdown file, which presents the current project, the web application and serves as a manual for the latter,
  • The LICENSE file is the software license which this web application is under, so the 'MIT' one in this present case,
  • The .gitattributes file
  • The .gitignore file

How was this project developed ?

Coming soon...

How does this project work ?

Coming soon...

How to use it ?

There are 2 ways to use the goEmojisGitHubAPIWebServer web application: through source code and through Docker. Here they are:

By source code...

It will be first discuss the installation, deployment and use of this web application by its source code.

First of all, you must clone the project goEmojisGitHubAPIWebServer from GitHub using this command:

git clone https://github.com/Vicken-Ghoubiguian/goEmojisGitHubAPIWebServer

In a second time, you must go to the directory of the cloned project using the following command:

cd goEmojisGitHubAPIWebServer

In a third time,

export GOPATH=${PWD}

Finaly, it's time to run this web app by executing this command bellow:

go run goEmojisGitHubAPIWebServer.go

Now the web app is working completely fine. To see this, please click here.

By Docker...

By Dockerfile...

git clone https://github.com/Vicken-Ghoubiguian/goEmojisGitHubAPIWebServer
cd goEmojisGitHubAPIWebServer
docker image build -t goemojisgithubapiwebserver:latest .

clarification: the character . specified at the end of the command refers to the current directory.

docker image ls
docker image history goemojisgithubapiwebserver:latest
docker container run -d --name goemojisgithubapiwebserver -p 80:80 goemojisgithubapiwebserver:latest
<container_s_IP_address>:80
docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' goemojisgithubapiwebserver

By Docker Hub...

And you can also deploy this web application using Docker and without the associated Dockerfile. The web application goEmojisGitHubAPIWebServer ๐Ÿงฎ โš“ ๐Ÿฅˆ ๐Ÿšก ๐Ÿฅ‡ ๐Ÿ‡ฆ๐Ÿ‡ธ ๐Ÿฅ‘ โš—๏ธ ๐Ÿ‰‘ ๐Ÿฅ‰ โš•๏ธ ๐Ÿง‘โ€๐Ÿš€ ๐Ÿ‡ณ๐Ÿ‡ท ๐Ÿ™ ๐ŸŽ  ๐Ÿ› ๏ธ ๐Ÿ—พ ๐Ÿ“ฝ๏ธ ๐ŸŽž๏ธ ๐Ÿ‡ฎ๐Ÿ‡ด ๐ŸŽฐ โ˜ฆ๏ธ ๐Ÿ‡ฐ๐Ÿ‡ต ๐Ÿ‡ฒ๐Ÿ‡ต ๐Ÿฉน ๐Ÿšก ๐Ÿ‘ถ โš”๏ธ ๐Ÿฅ– ๐Ÿ‡ฆ๐Ÿ‡ฒ โฐ ๐Ÿฑ ๐Ÿ˜ฝ ๐Ÿ’• ๐Ÿ‡ฆ๐Ÿ‡ฑ ๐Ÿ‡ฆ๐Ÿ‡ฝ ๐Ÿ’ช ๐Ÿฅ„ ๐Ÿ‡ง๐Ÿ‡ธ โ™’ ๐Ÿš‘ ๐Ÿค ๐Ÿ‘ฝ ๐Ÿ‡ฆ๐Ÿ‡ธ ๐Ÿบ ๐Ÿ’ข ๐Ÿ‘ผ ๐Ÿ€ ๐Ÿšฒ ๐Ÿ‘™ ๐ŸŽฑ ๐Ÿ”‹ ๐Ÿ‡จ๐Ÿ‡บ ๐ŸŽน ๐ŸŽต ๐Ÿœ ๐Ÿ“† ๐ŸŒ‡ ๐ŸŽ ๐Ÿ‡ฆ๐Ÿ‡ถ ๐Ÿ’” ๐Ÿ‘พ ๐Ÿงฌ ๐Ÿช• ๐Ÿ‡ฏ๐Ÿ‡ช ๐Ÿฆ  ๐Ÿค– โ˜„๏ธ ๐ŸŒƒ โ™พ๏ธ โ„น๏ธ ๐Ÿคฟ has an official image on Docker Hub. So please run the following command:

docker pull wicken/goemojisgithubapiwebserver:latest

Now it's time to create the Docker container and get it working as discussed above.

How to deploy it ?

From source code

Like see in this section above,

git clone https://github.com/Vicken-Ghoubiguian/goEmojisGitHubAPIWebServer
cd goEmojisGitHubAPIWebServer
export GOPATH=${PWD}
go run goEmojisGitHubAPIWebServer.go

Now ! It's your turn to play...

From Docker

It will be now discuss the installation, deployment and use of this web application by Docker.

From Dockerfile

First of all, you must clone the project goEmojisGitHubAPIWebServer from GitHub using this command:

git clone https://github.com/Vicken-Ghoubiguian/goEmojisGitHubAPIWebServer

Now, it is time for you to position yourself in the goEmojisGitHubAPIWebServer repository, using this bellow command:

cd goEmojisGitHubAPIWebServer

Then, you'll build the Docker image following the bellow command:

docker image build -t goemojisgithubapiwebserver:latest .

clarification: the character . specified at the end of the command refers to the current directory.

If you want to list all Docker images on your system, you must follow the next command:

docker image ls
docker image history goemojisgithubapiwebserver:latest
docker container run -d --name goemojisgithubapiwebserver -p 80:80 goemojisgithubapiwebserver:latest

To access to the web application from your browser, you must type the Docker container's IP adress following the colon (':') character and the port number (here '80'). It is show in the following command:

<container_s_IP_address>:80

To get the Docker container's IP adress, just execute the the following command:

docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' goemojisgithubapiwebserver

From Docker Hub

docker pull wicken/goemojisgithubapiwebserver:latest

With Balena

Where to use it ?

You can use this web application in many cases. You can use it, for example, in an educational case: to teach the Go language and web APIs to schoolchildren and students through an exciting and rewarding project. This web application could also be used for computer enthusiasts, to also learn the Go language and development with APIs. Of course, this web application can be used for other types of audiences and other ideas can be found... It's now your turn to play...

Useful links

Conclusion

Coming soon...

goemojisgithubapiwebserver's People

Contributors

vicken-ghoubiguian avatar

Watchers

 avatar  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.