Skip to content

Commit

Permalink
chore: adds python and node server
Browse files Browse the repository at this point in the history
  • Loading branch information
ayusharma committed Dec 7, 2018
1 parent 31b8760 commit fc46e85
Show file tree
Hide file tree
Showing 4 changed files with 316 additions and 1 deletion.
79 changes: 79 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

#DynamoDB Local files
.dynamodb/
29 changes: 28 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,34 @@ URL: http://ayusharma.github.io/birthday/

Technology Used: HTML5 CSS3 jQuery GNU/Linux Digital Ocean as VPS GIMP

For further queries do not hesitate to contact me.
# Setup

## If you have python installed:
```
cd Birthday
```

&&

```
python -m SimpleHTTPServer --port 8081
```

visit http://localhost:8081 in your browser.

## If you have nodejs installed
```
npm install
```
&&

```
npm run server-node
```
visit http://localhost:8081 in your browser.


## For further queries do not hesitate to contact me.

Ayush Sharma Arya College Of Engineering & IT, Jaipur India.

Expand Down
184 changes: 184 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "birthday",
"version": "1.0.0",
"description": "Birthday greetings..",
"main": " ",
"scripts": {
"server-node": "http-server -p 8081"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ayusharma/birthday.git"
},
"keywords": [
"Birthday"
],
"author": "Ayush Sharma",
"license": "WTFPL",
"bugs": {
"url": "https://github.com/ayusharma/birthday/issues"
},
"homepage": "https://github.com/ayusharma/birthday#readme",
"dependencies": {
"http-server": "^0.11.1"
}
}

0 comments on commit fc46e85

Please sign in to comment.