https://github.com/arpan-206/my-http-server

https://github.com/arpan-206/my-http-server

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.8%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: Arpan-206
  • Language: Go
  • Default Branch: main
  • Size: 12.7 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 2 years ago · Last pushed about 2 years ago
Metadata Files
Readme

README.md

HTTP Server

This is a simple proof of concept of a HTTP server written in Go.

How to run

  1. Install Go
  2. Clone this repository with git clone https://github.com/Arpan-206/my-http-server.git
  3. Run ./your_server.sh --directory /tmp/ to start the server

How to connect

There are many routes you can connect to. Here are some examples:

  1. GET request to http://localhost:4221/ will return a 200 status code without content.
  2. GET request to http://localhost:4221/echo/{some_text} will return a 200 status code with the text you provided.
  3. GET request to http://localhost:4221/user_agent will return a 200 status code with the user agent of the request.
  4. GET request to http://localhost:4221/files/{file_name} will return a 200 status code with the content of the file you provided.
  5. POST request to http://localhost:4221/files/{file_name} with a body will create a file with the content of the body and return a 200 status code.

How to look around the code

To look around the code, you can open the app/server.go file. This is where the server is defined and the routes are set up. Rest of the files are just helper files.

Owner

  • Name: Arpan Pandey
  • Login: Arpan-206
  • Kind: user
  • Location: India
  • Company: Hack Club

I am a 17-year old school student. I love to code, work on new projects, build stuff from scratch. I also love to learn new things.

GitHub Events

Total
Last Year

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 24
  • Total Committers: 2
  • Avg Commits per committer: 12.0
  • Development Distribution Score (DDS): 0.042
Past Year
  • Commits: 24
  • Committers: 2
  • Avg Commits per committer: 12.0
  • Development Distribution Score (DDS): 0.042
Top Committers
Name Email Commits
Arpan Pandey a****s@g****m 23
codecrafters-bot h****o@c****o 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

go.mod go
go.sum go