Skip to content

Instantly share code, notes, and snippets.

View Natedeploys's full-sized avatar
:shipit:
Building

Jhony Natedeploys

:shipit:
Building
View GitHub Profile
@Natedeploys
Natedeploys / api.json
Last active November 24, 2022 13:21
API Design for Manuscript Import
{
"title":"Instructions for *ACL Proceedings",
"content":[
{
"type": "paragraph",
"sentences": [
{
"type": "sentence",
"text": "First Author"
},
const request = require("supertest");
const { Genre } = require("../../models/genre");
const { User } = require("../../models/user");
const mongoose = require("mongoose");
let server;
describe("/api/genres", () => {
beforeEach(() => {
server = require("../../index");
@Natedeploys
Natedeploys / GIT.md
Created November 14, 2018 12:13
Github Feature Workflow

Developer contributions:

In order to contribute to this repository, we are following the Github pull request workflow.

  1. Update your local repository to the newest commit, execute:

git pull

  1. Create a new branch based on a feature and switch to it using:
// Packages, Styling
import React, { Component } from "react";
import 'styles.css';
class SearchField extends Component {
render() {
return (
<div className="search">
<input
type="text"
// Packages, Components
import React, { Component } from "react";
import SearchField from "../components/SearchField";
class Search extends Component {
constructor(props) {
super(props);
this.state = {
keyword: ""
};