Coder Social home page Coder Social logo

fe-apps's Introduction

Student Instructions

Begin by forking this repo, then cloning down your forked copy to your machine. cd into the project directory from your terminal.

Whateverly

  1. Create a new file at: /mod-2/whateverly/<yourCohortNumber>/<yourGitHubUsername>.js

    • The project and cohort directories have already been created for you, double check that you are adding your new file to this pre-existing directory
    • Your GitHub username is the last part of the URL when you go to your profile at https://github.com/<yourUserName> e.g. my username would be brittanystoroz
  2. Your file should include 2 datasets, both assigned to variables that you export at the bottom of the file. Follow the structure of this sample file to create yours. Do not overwrite this file.

  3. Commit and push your changes. Open a pull request.

Memoize

  1. Create a new file at: /mod-2/memoize/<yourCohortNumber>/<yourGitHubUsername>.js

    • The project and cohort directories have already been created for you, double check that you are adding your new file to this pre-existing directory
    • Your GitHub username is the last part of the URL when you go to your profile at https://github.com/<yourUserName> e.g. my username would be brittanystoroz
  2. Your file should include one or two datasets, assigned to variables that you export at the bottom of the file. Follow the structure of this sample file to create yours. Do not overwrite this file.

  3. Commit and push your changes. Open a pull request.


For Instructors

  • Add a cohort directory for the current project and include a copy of the sample.js file in it
  • Merge student PRs for adding their datasets
  • Pull down all changes
  • Double-check that no syntax errors have been added by running the local server with node index.js (Assuming you get a message that says the server is running on localhost:3000, everything is fine. If the server doesn't start up, you'll get some sort of error message.)
  • New endpoints will automatically be generated with the following pattern: localhost:3000/api/v1/projectName/cohortNumber/studentGitHubUserName/dataVariable e.g. localhost:3000/api/v1/whateverly/1811/lizAsbell/smoothies

Heroku Setup & Deployment

  • Go to heroku.com and login to the turing instructors account (credentials in staff channel posted by Katelyn)
  • Click on the fe-apps project > Access
  • Add yourself as a collaborator with your personal Heroku account
  • Install the Heroku CLI if you don't have it yet, and login with your personal Heroku credentials from your terminal with heroku login
  • Add a Heroku remote to your local copy of fe-apps with heroku git:remote -a fe-apps
  • Deploy to Heroku with git push heroku master
  • Endpoints will exist at: https://fe-apps.herokuapp.com/api/v1/whateverly/1811/lizAsbell/smoothies

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.