✨ 🇺🇸 OperationCode Frontend 🇺🇸 ✨
Please direct contribution interests to the new repository, OperationCode/front-end. This repository is moving towards deprecation as we work on re-implementing the website with better practices, a better developer experience, better SEO, and much better performance.
- MacOS or Linux with a globally installed and available
- For Windows User quick start installation
yarn run backend
If the command doesn't work the first time, run it again.
In another shell tab:
If you're an experienced developer, please navigate to our Quick Start Guide.
What is a frontend?
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.
In the drop-down menu, select
Mock Server and click on
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.
Want to contribute to this repo? Check out our comprehensive Contributing Guide
This project is licensed under the terms of the MIT license.