Git Product home page Git Product logo

rapcities's Introduction

README

server.js = the main file that runs to get the server going. 

If you want your own server code to get integrated into the main process, then you need to require your code within server.js. This is done by adding a line after "songetter = require('./songInterface')", except using a variable that makes sense to your feature and ./yourFileNameHere instead of ./songInterface. Then, in the "switch(pathname){" statement, you'll need to add a line that checks whether or not the pathname is equal to whatever the client will be calling to use your server code. You can use songInterface.js as a reference.


script.js = the script that populates the database with the songs/artists. It calls various other scripts as it runs to take care of all the work. If you're doing automated scripting work, it might be good to take a look here.


files/ = a directory that holds any static files that won't ever change. if you need to add a static file (e.g. an image) that is never going to change, please change "fileServer.js" so that it adds your file to the memory cache of static files that get returned quickly to clients.


pde/ = a directory that holds the raw Processing code for UndanceableEnergy, along with an html file that'll let you access said code in a browser. This code is SOLELY for development purposes, since it is way easier to develop front-end code in a PDE file. The front-facing version of the app is this code converted to javascript that's saved within the html file that's downloaded. 

rapcities's People

Contributors

thisissami avatar

Stargazers

 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.