Giter VIP home page Giter VIP logo

isitsaturday's Introduction

IsItSaturday

This is a web app which checks if it is Saturday anywhere in the world in order to let the user know if it is time to ****post on />p/ or not.

/>p/ is a facebook group for discussing programming and anything STEM related called Implying We Can Programming. You can find it here. https://www.facebook.com/groups/implyingprogramming/

This web app uses a NodeJS Express web server and Handlebars for template rendering. This way there is no front-end Jabascript involved. It uses a very simple algorithm to check if it's saturday for certain timezone offsets.

Getting Started

Make sure you have git installed. Follow your operating system's instructions to install it.

  1. In Ubuntu it is simply:
sudo apt install git
  1. Clone this repository by running:
git clone https://github.com/RustyRaptor/isitsaturday.git

Prerequisites

Make sure you have the latest version of NodeJS and NPM installed. I recommend installing it using NVM you can find NVM and install instructions at https://github.com/nvm-sh/nvm

NodeJS website: https://nodejs.org

Installing

  1. In the root folder of the project run:
npm install
  1. Now in the same folder run:
node server.js
  1. By default the web server will listen on port 3000 or it will use the $PORT environment variable if it is set. With that being said if you want to change the port it runs on simply run this command in bash:
export PORT=<port_number>

replace <port_number> with the port number you want it to listen on for example:

export PORT=3002

if you want it to listen on port 3002.

When you start the server it will print out a message that includes the port it is running on. If the number matches the port you set then you've set it successfully.

It will look something like:

Server is up on port 3000

Now to see it in action open a web browser and point it to localhost:<port_number> replacing <port_number> with the port you set or with 3000 if you used the default port like so: localhost:3000

Running the tests

#TODO

Built With

Contributing

Please feel free to make a pull request for any neat features you want to add. This project is just a meme anyway.

Versioning

Doesn't matter

Authors

Me and the dude that rewrote the whole code base to not use an external API. Forgot his name. Might add it later. You'll probably find him in the comments.

License

GPL v.2 but idgaf really it's just a meme. Steal it if you want.

Acknowledgments

none

isitsaturday's People

Contributors

catcat420 avatar onbjerg avatar rustyraptor avatar

Stargazers

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