GithubHelp home page GithubHelp logo

lindsaywparker / jet-fuel Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 384 KB

Shorten and save URLs

Home Page: http://lwp-jetfuel.herokuapp.com/

HTML 6.31% CSS 9.41% JavaScript 84.27%
jquery knex postgresql nodejs express

jet-fuel's Introduction

Jet Fuel - A Turing Mod 4 FEE Project

Synopsis

This project converts user-provided long URLs and converts them to short URLs while saving them to a selected folder. It is built on the front-end with jQuery and the back-end with Node/Express, knex, and PostgreSQL.

Design inspiration came from @ToshTak on Dribble.

See It Live

Jet Fuel on Heroku

Set Up

Clone the repo

Run npm install from the root directory

Run npm start and visit localhost:3000 in your browser

Test Driven Development

Jet Fuel uses Mocha and Chai for testing

Run with npm test

Original Assignment

Jet Fuel from the Turing School of Software & Design

Contributors

Lindsay Parker : GitHub Profile

jet-fuel's People

Contributors

lindsaywparker avatar

Watchers

 avatar

jet-fuel's Issues

Change unique field to short URL

Per feedback:

This short url here is actually the field that needs to be unique, not the long url. You can create as many short links to https://www.google.com as you want and place them in as many folders as you want, but they should each have their own unique short url.

Remove hard-coded URL prefix

Per feedback:

Hardcoding a "hostname" here is a little bizarre - it's fine to prefix your shortURL with something but I wouldn't make it an entire hostname with a top-level domain. (Especially since it isn't the URL of your deployed application)

Change error checking to check for `ok` flag

Per feedback:

Little confusing why there would be a folder.error within a .then which would imply things were successful. You can check for the ok flag that is passed with a response object by default to determine if the status code that came back was erroneous and you need to throw an error for it.

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.