Code Monkey home page Code Monkey logo

todo-backend-site's Introduction

todo-backend-site

Source for www.todobackend.com. This is a middleman-based static website.

built and deployed to S3 via: CircleCI

Adding a new implementation listing

To add a new Todo-Backend implementation:

  • edit data/implementations.yaml
  • add any new tags to data/impl_tags.yaml
  • and add logos to source/images/logos.

Running a local instance of the site from source

  • Make sure you have git submodules set up with git submodule update --init --recursive
  • Install required gems with bundle install
  • build the site with bundle exec rake build
  • run a dev server with bundle exec middleman

Running the site via docker

A dockerized version of the site is available on Docker Hub as moredip/todo-backend-site.

Make sure you have git submodules set up with git submodule update --init --recursive

You can run the site within a container while still incorporating local changes:

docker run -p 4567:4567 -v "${PWD}/data:/opt/docker/data" -v "${PWD}/source:/opt/docker/source" moredip/todo-backend-site build serve

If you prefer Docker Compose there's a docker-compose.yml in the root of the source repo, so you can just do:

docker-compose run --service-ports site

and you'll have the site running on port 80 of your Docker host.

todo-backend-site's People

Contributors

chelsclee avatar chiahuang avatar danielsiwiec avatar daviddenton avatar dependabot[bot] avatar faerbit avatar gregoirew avatar ilya-murzinov avatar jesspittman avatar jhedev avatar johannea avatar johanvogelzang avatar joshrotenberg avatar jsphyin avatar kixpanganiban avatar kylehodgson avatar loganwright avatar mgroves avatar moredip avatar olberger avatar pamo avatar panesofglass avatar platramos avatar raboof avatar sdqali avatar selvakn avatar tachyus-ryan avatar tonycheang avatar wendal avatar whitfieldc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

todo-backend-site's Issues

Deployment fails

Hi,

Just to prevent that the website is not up to date.

The recent implementations that have been recently merged are not present.
The deployment is stuck since the build 23703a8 which dates from February.

Best regards.

Fix mixed content issues by updating API urls to `https://` or `//`

via email:

Hello Pete
Thank you for the todobackend.com project
Just one issue. With https:// emerging as the default protocol in browsers, all http:// XHRs become "mixed content", so none of the listed apis can pass the test unless you manually switch from https to http in address bar.
You may consider updating listed apis urls to https:// or to //
Thank you

Provide written spec

For someone new to this it is very hard to get how the API should behave by only looking at the tests.
I found it difficult to deduce what should happen if you issue a DELETE request to the API root.
I am still unsure how the order property should be handled. Is it completely optional?

Failed tests also do not give helpful information if you do not know how the API should behave.

Deployment fails

Hi,

A few weeks ago you merged my PR (#178) for a Todo Backend implementation -- thank you for that!

However, it still hasn't appeared on the website. Possibly because the Codeship build is failing. Unfortunately I'm not able to log in there to see what's going on, so I can't provide further details.

Thought I'd let you know just in case you missed it.

Created a dockerized dev server

Some folks might find it easier to test out their changes to the yaml files if they can run the site locally using Docker, rather than mucking around with bundle install etc

Error while running tests (all implementations)

the pre-requisites
the api root responds to a GET (i.e. the server is up and accessible, CORS headers are set up)โ€ฃ

Error: global leak detected: __VUE_DEVTOOLS_TOAST__
    at Runner.checkGlobals (https://www.todobackend.com/specs/js/lib/mocha.js:4534:21)
    at Runner.<anonymous> (https://www.todobackend.com/specs/js/lib/mocha.js:4408:44)
    at Runner.EventEmitter.emit (https://www.todobackend.com/specs/js/lib/mocha.js:588:20)
    at https://www.todobackend.com/specs/js/lib/mocha.js:4817:14
    at done (https://www.todobackend.com/specs/js/lib/mocha.js:4300:5)
    at https://www.todobackend.com/specs/js/lib/mocha.js:4341:31
    at _fulfilled (https://www.todobackend.com/specs/js/lib/q.js:787:54)
    at https://www.todobackend.com/specs/js/lib/q.js:816:30
    at Promise.promise.promiseDispatch (https://www.todobackend.com/specs/js/lib/q.js:749:13)
    at https://www.todobackend.com/specs/js/lib/q.js:557:44

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.