Giter Site home page Giter Site logo

rambl's Introduction

Build Status David

Available Scripts

In the project directory, you can run:

npm run dev

Runs the app and server in the development mode.
Open http://localhost:3000 to view the client in the browser. Open http://localhost:4200 to view the server in the browser. The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

rambl's People

Contributors

evscott avatar gzinck avatar ibishop avatar morgankbender avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

gzinck

rambl's Issues

Create React login page.

This page should contain two primary input fields, and two primary buttons.

Input fields:

  1. email.
  2. password.

Buttons:

  1. submit -> submits login request -> routes to dashboard if successful, else indicate failure (see issue #89 ).
  2. cancel (better phrase needed) -> routes back to landing page (see issue #86 ).

Create React dashboard.

This page should display the current users account information (minus password), and contain a single button.

Button:

  1. Logout -> destroys users JWT from local storage -> routes back to landing page (see issue #86 ).

Create React signup page.

This page should contain four primary input fields, and two primary buttons.

Input fields:

  1. email.
  2. password.
  3. first name.
  4. last name.

Buttons:

  1. submit -> submits signup request -> routes to dashboard if successful (see issue #89 ).
  2. cancel (better phrase needed) -> routes back to landing page (see issue #86 ).

Create React landing page.

The landing page should contain two primary buttons:

Buttons:

  1. Signup -> routing to the signup page (see issue #87 ).
  2. Login -> routing to the login page (see issue #88 .

Validate user requests targeting db belong to user.

Currently, all requests aside from 'login' and 'signup' must include a valid 'x-access-token' in the header. This token should be used to decode the users email to determine whether their request is targeting data that belongs to them. See issue #84 for similar functionality.

Resolve user email with web token in server handlers.

Currently, to add new trips and get user information the user must pass their email through to the server within a requests body. Their email should be resolved using their JSON web token, however. This can be done as follows:

jwt.verify( token, Config.publicKey, Config.verifyOptions, (err, decoded) => { if (err) throw error; let useremail = decoded.email; // do something with this email } } );

Create milestone #2 submission.

Practice presentation!

  • ERD diagram for database.
  • Description of server routing system.
  • Description of relationship between server and database.
  • Graphics of mock GUI.
  • Show off proto.io shtuff.
  • Imagination! ๐ŸŒˆ

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.