Coder Social home page Coder Social logo

mlh-fellowship / babel-sandbox-server Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 2.0 342 KB

:computer: A backend server for the babel sandbox v2 made using SailsJS

Home Page: https://babelsandbox.com

License: MIT License

JavaScript 51.50% CSS 0.21% HTML 48.29%
sails babel-sandbox

babel-sandbox-server's Introduction

babel-sandbox-server

a Sails v1 application

Links

Quick Start

  • Install MongoDB
  • Install Sails.js: npm install -g sails
  • Install dependencies: npm install
  • Run: sails lift or sails lift --port NUMBER if you encounter EADDRINUSE
  • Run: npm test or PORT=... npm test to verify Mongo has been set up
  • Open Postman
  • Create a new GET request
  • Enter: http://localhost:1337/api/v1/blobs/view and click Send
  • Expected output: status 200 ok

Contribution Guidelines

  • Add an appropriate API test for any server/logic related change
  • Run: npm test or PORT=... npm test and ensure all test cases pass before making a PR

Version Info

This app was originally generated on Mon Jul 27 2020 13:07:39 GMT-0500 (Central Daylight Time) using Sails v1.2.4.

babel-sandbox-server's People

Contributors

ianjennings avatar kirbyfern avatar mohammedsahl avatar penguingovernor avatar wlawt avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

wlawt kirbyfern

babel-sandbox-server's Issues

relations return null on POST but not on GET

Found from #6 - to reproduce follow similar steps in that PR

Possible problem:
Source Plugin are association fields that are set up only when the action is complete. The other fields that are not associations like created id return its expected output.

On POST:
image

On GET:
image

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.