GithubHelp home page GithubHelp logo

anthrax3 / operationcode_frontend Goto Github PK

View Code? Open in Web Editor NEW

This project forked from operationcode/operationcode_frontend

0.0 1.0 0.0 35.22 MB

This is the frontend repo for the Operation Code website

Home Page: https://operationcode.org

License: MIT License

JavaScript 69.11% Makefile 0.08% Shell 0.51% HTML 0.63% CSS 29.67%

operationcode_frontend's Introduction

✨ πŸ‡ΊπŸ‡Έ OperationCode Frontend πŸ‡ΊπŸ‡Έ ✨


Build Status PRs Welcome

License: MIT Twitter Follow

Welcome!

Welcome to our frontend repository built using React and Express! We highly recommend joining our organization to receive an invite to our Slack team. From there, you'll want to join the #oc-projects channel. You can get help from multiple professional developers and people who have worked on the application since day 1!

Before contributing, please review our GitHub Workflow in the contributing guide.

For information about the maintainers of the project, check out MAINTAINERS.md.

Quick Start

Prerequisites:

yarn
yarn run backend

If the command doesn't work the first time, run it again.

In another shell tab:

yarn start

If you're an experienced developer, please navigate to our Quick Start Guide.

What is a frontend?

When you visit our website you're interacting with two systems, a frontend application and a backend application. The frontend application (where you are now) is responsible for displaying images, text and data on our web pages. Frontend applications are usually written using a combination of HTML, CSS, and JavaScript and utilize one or more frameworks such as Angular, Backbone, Vue, and React. https://operationcode.org uses React.

What is a backend?

The backend is responsible for providing data to the front end to display, and processing data entered into the frontend, and running various jobs like inviting new users to Slack, or signing them up for our newsletter. The https://operationcode.org backend is written in Rails and can be viewed at https://github.com/OperationCode/operationcode_backend.

Mocking Backend Server API

Our backend API blueprint:

We are using Apiary.io for our Backend documentation. It also includes a Mocking Server so you don't have to stand up the whole backend. You just need to hit the Mock API endpoints for whatever it is you're testing.

To use, navigate to Apiary.io.

For example, you want to gather all CodeSchool Members. Click on CodeSchool | Collection on the left-hand side. Select List All CodeSchool Members.

A form will populate. You can switch to an Example Code in the language of your choosing. More than likely it will be JavaScript on the front-end.

In the drop-down menu, select Mock Server and click on Try.

You will see a GET request with the mock endpoint url. You can now copy and paste that into your front-end to test your code.

Don't forget to remove the mock endpoint url when committing your changes for production. Reset your values and select Production to get the correct endpoint url.

Contribute

Want to contribute to this repo? Check out our comprehensive Contributing Guide

License

This project is licensed under the terms of the MIT license.

operationcode_frontend's People

Contributors

alexspence avatar aryanj-nyc avatar ashu17706 avatar atmartin avatar billy-le avatar cooperbuilt avatar hollomancer avatar hpjaj avatar jjhampton avatar jmayergit avatar jvillama avatar katia-aa avatar ksmacleod99 avatar kylemh avatar kyleshevlin avatar matthewzurek avatar mattmacneil avatar mkmckenzie avatar nellshamrell avatar nestorsegura avatar rickr avatar rmkubik avatar samnunnally avatar sethbergman avatar talbshoam avatar tskuse avatar whb07 avatar yosefbennywidyo avatar zapix avatar zzbazinga avatar

Watchers

 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.