Git Product home page Git Product logo

ashleygwilliams.github.io's Introduction

ashleygwilliams.github.io

hi, i'm ashley. nice to meet you.

Code Climate

* THIS README IS OUT OF DATE * (will be updating soon)

This repo contains a static landing site for myself, as well as a json-api compliant, hypermedia API that would generate the response you see on that page. The API is written in an open source framework I work on, called Endpoints. This API is a work in progress :)

Up and Running

This project was built using Node, so you'll need that to run it. To check if you have it installed, go to your terminal/cmd and type node -v. If you need to install Node, you can head here.

Run the API

This API is built in the Endpoints framework. It uses a sqlite3 database, and uses Knex for building queries and Bookshelf as an ORM.

  1. Clone this repository
  2. npm install
  3. To build the database run knex migrate:latest
  4. To seed the directory, run knex seed:run
  5. Start the API by running npm start

The root route, / will show you a list of resources and the filters you can use on them.

Try: http://localhost:8080/users/1?include=projects,presentations,community,writing

NOTE: You'll probably want an in browser JSON Viewer to see the responses :) I really like: JSON Viewer for Chrome.

Build the Static Site

The static site is built with jade. Simply edit app/views/index.jade and then run npm build. To deploy to gh-pages move the generated index.html to the root directory.

index.jade extends layout.jade, which pulls in Skeleton CSS. For custom styles, modify public/css/styles.css. All other static assets should also be placed in public.

ashleygwilliams.github.io's People

Contributors

ashleygwilliams avatar lewiscowper avatar imieites avatar juanitofatas avatar kevdonk avatar prayagverma avatar sarahduve avatar

Watchers

James Cloos avatar Hans Boef 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.